summaryrefslogtreecommitdiff
path: root/src/auth_unix.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-22 14:43:52 -0400
committerSteve Dickson <steved@redhat.com>2015-04-23 08:29:45 -0400
commit7228a9482b92ff0305f7e7ccd0276c638bee1884 (patch)
treefa4de0d3792e4ae658cdf934595c05514b75f3a8 /src/auth_unix.c
parent4d3263ca3b64de8acdcaf71d36bfb0eda06b8710 (diff)
downloadti-rpc-7228a9482b92ff0305f7e7ccd0276c638bee1884.tar.gz
Avoid use of internal glibc sys/cdefs.h header
This header was never intended to be used by programs. Expand the macros used, __BEGIN_CDECLS, __END_CDECLS and __P() The __THROW macro is a non-portable hint for optimization so we simply remove those. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/auth_unix.c')
-rw-r--r--src/auth_unix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/auth_unix.c b/src/auth_unix.c
index 4b9b13f..3009543 100644
--- a/src/auth_unix.c
+++ b/src/auth_unix.c
@@ -26,7 +26,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/*
* auth_unix.c, Implements UNIX style authentication parameters.