Date: Thu, 17 May 2001 12:22:46 -0700 From: Peter Wemm <peter@wemm.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys sysctl.h Message-ID: <20010517192246.99AA8380A@overcee.netplex.com.au> In-Reply-To: <200105171757.f4HHvbk97572@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote: > ru 2001/05/17 10:57:37 PDT > > Modified files: > sys/sys sysctl.h > Log: > Cosmetics to rev.1.89: removed argument names in a function prototype. It is also correct to merely move the names out of application space. ie, change: int foo(int *bar); to: int foo(int *_bar); For the bystanders, this is so that if somebody already has a macro: #define bar 1 then a later #include <sys/sysctl.h> will fail due to: int foo(int *1); Applications are perfectly entitled to do this. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010517192246.99AA8380A>