summaryrefslogtreecommitdiff
path: root/package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h')
-rw-r--r--package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h b/package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h
new file mode 100644
index 000000000..cc07b1833
--- /dev/null
+++ b/package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h
@@ -0,0 +1,16 @@
+--- librpcsecgss-0.19.orig/include/rpcsecgss/rpc/rpc.h 2009-07-29 18:24:50.000000000 +0200
++++ librpcsecgss-0.19/include/rpcsecgss/rpc/rpc.h 2013-11-11 21:11:41.000000000 +0100
+@@ -71,13 +71,6 @@
+
+ __BEGIN_DECLS
+
+-/* Global variables, protected for multi-threaded applications. */
+-extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__));
+-#define svc_fdset (*__rpc_thread_svc_fdset ())
+-
+-extern struct rpc_createerr *__rpc_thread_createerr (void)
+- __attribute__ ((__const__));
+-#define get_rpc_createerr() (*__rpc_thread_createerr ())
+ /* The people who "engineered" RPC should bee punished for naming the
+ data structure and the variable the same. We cannot always define the
+ macro 'rpc_createerr' because this would prevent people from defining