aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-21 11:57:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-21 11:57:23 +0000
commit85231522bb178ebe0957529de20b7f3dda81168c (patch)
treebc8f29152d304af5604b0b76344d52a73a94804f /ChangeLog
parentca88f362a7e5f14db8e6de71f1ce500b2285307c (diff)
downloadglibc-85231522bb178ebe0957529de20b7f3dda81168c.zip
glibc-85231522bb178ebe0957529de20b7f3dda81168c.tar.gz
glibc-85231522bb178ebe0957529de20b7f3dda81168c.tar.bz2
Convert a few more function definitions to prototype style.
This patch converts a few more function definitions in glibc from old-style K&R to prototype style. This is sufficient to build and test on x86_64 and x86 with -Wold-style-definition (I'll test on some more architectures before proposing the actual addition of -Wold-style-definition). Tested for x86_64 and x86 with -Wold-style-definition in use (testsuite - this patch affects files containing assertions). * io/fts.c (fts_open): Convert to prototype-style function definition. * malloc/mcheck.c (mcheck): Likewise. (mcheck_pedantic): Likewise. * posix/regexec.c (re_search_2_stub): Likewise. Use internal_function. (re_search_internal): Likewise. * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to prototype-style function definition. * sunrpc/clnt_udp.c (clntudp_call): Likewise. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise. (xdr_utmpptr): Likewise. (xdr_utmparr): Likewise. (xdr_utmpidle): Likewise. (xdr_utmpidleptr): Likewise. (xdr_utmpidlearr): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e2093a..d08674e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2015-10-21 Joseph Myers <joseph@codesourcery.com>
+ * io/fts.c (fts_open): Convert to prototype-style function
+ definition.
+ * malloc/mcheck.c (mcheck): Likewise.
+ (mcheck_pedantic): Likewise.
+ * posix/regexec.c (re_search_2_stub): Likewise. Use
+ internal_function.
+ (re_search_internal): Likewise.
+ * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
+ prototype-style function definition.
+ * sunrpc/clnt_udp.c (clntudp_call): Likewise.
+ * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
+ * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
+ (xdr_utmpptr): Likewise.
+ (xdr_utmparr): Likewise.
+ (xdr_utmpidle): Likewise.
+ (xdr_utmpidleptr): Likewise.
+ (xdr_utmpidlearr): Likewise.
+
* math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
log, log10 and log2.
* math/auto-libm-test-out: Regenerated.