summaryrefslogtreecommitdiffstats
path: root/include/sys/socket.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 03:45:53 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:23:44 -0800
commit87a280d3e480d9c7dccd19e2984b1f9e576e69d7 (patch)
tree23412b459ad3c59f6098976d92b293b7cb2146eb /include/sys/socket.h
parentb88b64bd06d9c0945e53a99b6ea840f38358df99 (diff)
downloaduClibc-alpine-87a280d3e480d9c7dccd19e2984b1f9e576e69d7.tar.bz2
uClibc-alpine-87a280d3e480d9c7dccd19e2984b1f9e576e69d7.tar.xz
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index fb5135d3d..0824fc855 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -1,5 +1,6 @@
/* Declarations of socket constants, types, and functions.
- Copyright (C) 1991,92,1994-2001,2003 Free Software Foundation, Inc.
+ Copyright (C) 1991,92,1994-2001,2003,2005,2007,2008
+ 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
@@ -27,6 +28,10 @@ __BEGIN_DECLS
#include <sys/uio.h>
#define __need_size_t
#include <stddef.h>
+#ifdef __USE_GNU
+/* Get the __sigset_t definition. */
+# include <bits/sigset.h>
+#endif
/* This operating system-specific header file defines the SOCK_*, PF_*,
@@ -231,7 +236,7 @@ libc_hidden_proto(accept)
extern int shutdown (int __fd, int __how) __THROW;
-#ifdef __USE_XOPEN2K
+#if 0 /*def __USE_XOPEN2K*/
/* Determine wheter socket is at a out-of-band mark. */
extern int sockatmark (int __fd) __THROW;
#endif