This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-123-g70996a3
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Oct 2014 19:39:56 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-123-g70996a3
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 70996a373dd38296254029423ae6d87c02e7184a (commit)
from e80514b5a87c86a92352ce526c4b9db85f2a242c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=70996a373dd38296254029423ae6d87c02e7184a
commit 70996a373dd38296254029423ae6d87c02e7184a
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri Oct 24 12:37:36 2014 -0700
Prototypify htonl and htons definitions.
diff --git a/ChangeLog b/ChangeLog
index 40e294b..b52ff14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-24 Roland McGrath <roland@hack.frob.com>
+
+ * inet/htons.c (htons): Prototypify.
+ * inet/htonl.c (htonl): Likewise.
+
2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
* string/strncat.c (strncat): Improve performance by using strlen.
diff --git a/inet/htonl.c b/inet/htonl.c
index 3829e4f..290e2ae 100644
--- a/inet/htonl.c
+++ b/inet/htonl.c
@@ -22,8 +22,7 @@
#undef ntohl
uint32_t
-htonl (x)
- uint32_t x;
+htonl (uint32_t x)
{
#if BYTE_ORDER == BIG_ENDIAN
return x;
diff --git a/inet/htons.c b/inet/htons.c
index 6305996..42fb723 100644
--- a/inet/htons.c
+++ b/inet/htons.c
@@ -21,8 +21,7 @@
#undef ntohs
uint16_t
-htons (x)
- uint16_t x;
+htons (uint16_t x)
{
#if BYTE_ORDER == BIG_ENDIAN
return x;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
inet/htonl.c | 3 +--
inet/htons.c | 3 +--
3 files changed, 7 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources