libcap/libcap-1.10-ia64.patch

33 lines
960 B
Diff
Raw Normal View History

--- libcap-1.10/libcap/cap_sys.c.ia64 Mon May 21 16:23:27 2001
+++ libcap-1.10/libcap/cap_sys.c Mon May 21 16:24:09 2001
@@ -11,14 +11,6 @@
#define __LIBRARY__
#include <linux/unistd.h>
-_syscall2(int, capget,
- cap_user_header_t, header,
- cap_user_data_t, data)
-
-_syscall2(int, capset,
- cap_user_header_t, header,
- const cap_user_data_t, data)
-
/*
* $Log: cap_sys.c,v $
* Revision 1.1.1.1 1999/04/17 22:16:31 morgan
--- libcap-1.10/Make.Rules.ia64 Mon May 21 16:22:08 2001
+++ libcap-1.10/Make.Rules Mon May 21 16:22:32 2001
@@ -44,10 +44,10 @@
CC=gcc
COPTFLAGS=-O2
DEBUG=-g #-DDEBUG
-WARNINGS=-ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
+WARNINGS=-D_POSIX_SOURCE -Wall -Wwrite-strings \
-Wpointer-arith -Wcast-qual -Wcast-align \
-Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
- -Wnested-externs -Winline -Wshadow -pedantic
+ -Wnested-externs -Winline -Wshadow
LD=ld
LDFLAGS=-s #-g