This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Series short description
- From: Pavel Roskin <proski at gnu dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 04 Aug 2011 18:13:45 -0400
- Subject: [PATCH 0/2] Series short description
There are two issues in the glibc headers that cause sparse errors. One
is returning 0 in bits/socket.h when a pointer should be returned.
Another is using the old-style structure initializers in
bits/mathinline.h.
I have never contributed anything to libc. Please let me know if I'm
doing something wrong.
ChangeLog:
2011-08-04 Pavel Roskin <proski@gnu.org>
* hurd/hurd/fd.h: Use new style initializers.
* sysdeps/*: Likewise.
* sysdeps/*/bits/socket.h: Use NULL instead of 0 when returning a
pointer.
---
Pavel Roskin (2):
Use NULL instead of 0 in bits/socket.h
Use new style initializers in headers
hurd/hurd/fd.h | 2 +-
sysdeps/i386/bits/huge_vall.h | 2 +-
sysdeps/i386/fpu/bits/mathinline.h | 8 ++++----
sysdeps/ia64/bits/huge_vall.h | 2 +-
sysdeps/ia64/fpu/bits/mathinline.h | 6 +++---
sysdeps/ieee754/bits/huge_val.h | 2 +-
sysdeps/ieee754/bits/huge_valf.h | 2 +-
sysdeps/ieee754/bits/nan.h | 2 +-
sysdeps/powerpc/fpu/bits/mathinline.h | 6 +++---
sysdeps/s390/fpu/bits/mathinline.h | 6 +++---
sysdeps/sh/bits/huge_val.h | 2 +-
sysdeps/sparc/bits/huge_vall.h | 2 +-
sysdeps/sparc/fpu/bits/mathinline.h | 10 +++++-----
sysdeps/unix/bsd/bsd4.4/bits/socket.h | 4 ++--
sysdeps/unix/sysv/linux/bits/socket.h | 4 ++--
sysdeps/unix/sysv/linux/sparc/bits/socket.h | 4 ++--
sysdeps/x86_64/fpu/bits/mathinline.h | 6 +++---
17 files changed, 35 insertions(+), 35 deletions(-)
--
Regards,
Pavel Roskin