mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 04:31:03 +00:00
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.
This commit is contained in:
parent
7595ddb8f9
commit
6ede11aa0d
@ -1,5 +1,8 @@
|
||||
2002-01-02 Roland McGrath <roland@frob.com>
|
||||
|
||||
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
|
||||
* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.
|
||||
|
||||
* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.
|
||||
|
||||
* hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993,97,2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -21,9 +21,9 @@
|
||||
#undef htonl
|
||||
#undef ntohl
|
||||
|
||||
u_int32_t
|
||||
uint32_t
|
||||
htonl (x)
|
||||
u_int32_t x;
|
||||
uint32_t x;
|
||||
{
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
return x;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993,97,2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -21,9 +21,9 @@
|
||||
#undef htons
|
||||
#undef ntohs
|
||||
|
||||
u_int16_t
|
||||
uint16_t
|
||||
htons (x)
|
||||
u_int16_t x;
|
||||
uint16_t x;
|
||||
{
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
return x;
|
||||
|
Loading…
Reference in New Issue
Block a user