Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS update: Vanilla/tools
Date: Tuesday July 13, 1999 @ 10:42
Author: tanner
Update of /home/netrek/cvsroot/Vanilla/tools
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv11893
Modified Files:
ltd_dump.c
Log Message:
Fixed warning that main must return an int
****************************************
Index: Vanilla/tools/ltd_dump.c
diff -u Vanilla/tools/ltd_dump.c:1.3 Vanilla/tools/ltd_dump.c:1.4
--- Vanilla/tools/ltd_dump.c:1.3 Fri Jun 25 16:50:16 1999
+++ Vanilla/tools/ltd_dump.c Tue Jul 13 10:42:22 1999
@@ -1,4 +1,4 @@
-/* $Id: ltd_dump.c,v 1.3 1999/06/25 21:50:16 ahn Exp $
+/* $Id: ltd_dump.c,v 1.4 1999/07/13 15:42:22 tanner Exp $
*
* Dave Ahn
*
@@ -28,7 +28,7 @@
#define LEN_ABBR 4
#define LEN_NAME 30
-static const char rcsid [] = "$Id: ltd_dump.c,v 1.3 1999/06/25 21:50:16 ahn Exp $";
+static const char rcsid [] = "$Id: ltd_dump.c,v 1.4 1999/07/13 15:42:22 tanner Exp $";
static FILE *fp = stdout;
@@ -407,10 +407,10 @@
#else /* LTD_STATS */
-void main(void) {
+int main(void) {
printf("ltd_dump: This program can only be used with LTD_STATS enabled.\n");
-
+ return 1;
}
#endif /* LTD_STATS */