[BusyBox-cvs] busybox/networking/udhcp dhcpc.c,1.3,1.4
Erik Andersen
andersen at codepoet.org
Wed Dec 11 07:46:34 UTC 2002
- Previous message: [BusyBox-cvs] busybox/shell msh.c,1.10,1.11
- Next message: [BusyBox-cvs] busybox/networking/udhcp Config.in,1.2,1.3 README.udhcpc,1.2,1.3 dhcpc.c,1.4,1.5 dumpleases.c,1.2,1.3 files.c,1.2,1.3 options.c,1.2,1.3 options.h,1.2,1.3 script.c,1.2,1.3 version.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/networking/udhcp
In directory winder:/tmp/cvs-serv12664/networking/udhcp
Modified Files:
dhcpc.c
Log Message:
Make sure we have a show_usage function prototype
-Erik
Index: dhcpc.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/dhcpc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dhcpc.c 28 Nov 2002 11:27:29 -0000 1.3
+++ dhcpc.c 11 Dec 2002 07:46:30 -0000 1.4
@@ -77,7 +77,7 @@
};
#ifndef BB_VER
-static void show_usage(void)
+static void __attribute__ ((noreturn)) show_usage(void)
{
printf(
"Usage: udhcpc [OPTIONS]\n\n"
@@ -99,6 +99,8 @@
);
exit(0);
}
+#else
+extern void show_usage(void) __attribute__ ((noreturn));
#endif
- Previous message: [BusyBox-cvs] busybox/shell msh.c,1.10,1.11
- Next message: [BusyBox-cvs] busybox/networking/udhcp Config.in,1.2,1.3 README.udhcpc,1.2,1.3 dhcpc.c,1.4,1.5 dumpleases.c,1.2,1.3 files.c,1.2,1.3 options.c,1.2,1.3 options.h,1.2,1.3 script.c,1.2,1.3 version.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list