comparison lib-src/profile.c @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents 376386a54a3c
children 43dd3413c7c7
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
71 (unsigned long) TV2.tv_sec - TV1.tv_sec, 71 (unsigned long) TV2.tv_sec - TV1.tv_sec,
72 (unsigned long) TV2.tv_usec - TV1.tv_usec); 72 (unsigned long) TV2.tv_usec - TV1.tv_usec);
73 return time_string; 73 return time_string;
74 } 74 }
75 75
76 void 76 int
77 main (void) 77 main (int argc, char *argv[])
78 { 78 {
79 int c; 79 int c;
80 while ((c = getchar ()) != EOF) 80 while ((c = getchar ()) != EOF)
81 { 81 {
82 switch (c) 82 switch (c)
92 } 92 }
93 /* Anything remaining on the line is ignored. */ 93 /* Anything remaining on the line is ignored. */
94 while (c != '\n' && c != EOF) 94 while (c != '\n' && c != EOF)
95 c = getchar (); 95 c = getchar ();
96 } 96 }
97 exit (1); 97 return 1;
98 } 98 }