[PATCH] <asm/byteorder.h> missing prototypes warning
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Fri Apr 3 03:11:00 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This is similar in concept to the <stdio.h> patch I just posted to
newlib@. It looks like I mistakenly removed the prototypes when I was
trying to fix the C99 inline issue in <asm/byteorder.h>.
Since this makes four lines which need the C99 inline workaround, I
decided to make a macro similar to that in <stdio.h>. I didn't use the
same macro name, since I didn't want to deal with a possible collision
with, or dependency on, <stdio.h>. Perhaps there is a better way of
dealing with this; I'm certainly open to ideas.
Patch attached.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAknVfjsACgkQpiWmPGlmQSPH/gCgoxK1UgezIcUwFH3EHc0+rHRB
C14AnRZ2yQhc6uwvJbcQ98hUSxnxP38X
=8YGC
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin-asm_byteorder.h-Wmissing-prototypes.patch
Type: text/x-patch
Size: 1302 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090403/2579d60d/attachment.bin>
More information about the Cygwin-patches
mailing list