[BusyBox] Re: [BusyBox-cvs] busybox/networking/udhcp dhcpc.c,1.3,1.4
Erik Andersen
andersen at codepoet.org
Wed Dec 11 14:49:03 UTC 2002
- Previous message: [BusyBox] Re: [BusyBox-cvs] busybox/networking/udhcp dhcpc.c,1.3,1.4
- Next message: [BusyBox] Re: [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 ]
On Wed Dec 11, 2002 at 02:10:58PM -0700, Russ Dill wrote:
> > -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
>
> Why are is __attribute__ moved around in the two different declarations
> (applying this upstream)
One is a function declaration. The other is the actual function
implementation. gcc can be kindof wierd that way -- it wants
things declared one way but implemented a bit different.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
- Previous message: [BusyBox] Re: [BusyBox-cvs] busybox/networking/udhcp dhcpc.c,1.3,1.4
- Next message: [BusyBox] Re: [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
mailing list