mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Update.
1999-05-30 Ulrich Drepper <drepper@cygnus.com> * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
This commit is contained in:
parent
0ea554bf81
commit
8e55f537ed
@ -1,3 +1,7 @@
|
|||||||
|
1999-05-30 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
|
||||||
|
|
||||||
1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
* manual/stdio.texi: Fix some typos.
|
* manual/stdio.texi: Fix some typos.
|
||||||
|
@ -230,10 +230,10 @@ struct ipv6_mreq
|
|||||||
this was a short-sighted decision since on different systems the types
|
this was a short-sighted decision since on different systems the types
|
||||||
may have different representations but the values are always the same. */
|
may have different representations but the values are always the same. */
|
||||||
|
|
||||||
extern uint32_t ntohl __P ((uint32_t __netlong));
|
extern uint32_t ntohl __P ((uint32_t __netlong)) __attribute__ ((__const__));
|
||||||
extern uint16_t ntohs __P ((uint16_t __netshort));
|
extern uint16_t ntohs __P ((uint16_t __netshort)) __attribute__ ((__const__));
|
||||||
extern uint32_t htonl __P ((uint32_t __hostlong));
|
extern uint32_t htonl __P ((uint32_t __hostlong)) __attribute__ ((__const__));
|
||||||
extern uint16_t htons __P ((uint16_t __hostshort));
|
extern uint16_t htons __P ((uint16_t __hostshort)) __attribute__ ((__const__));
|
||||||
|
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user