summaryrefslogtreecommitdiff
path: root/package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-11 21:17:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-11 21:17:13 +0100
commit9b40c56e936152a246a4a4510907b6f092eeb09c (patch)
treeee9f6b0e950795cae490868b418e86aaa6b63c15 /package/librpcsecgss/patches/patch-include_rpcsecgss_rpc_rpc_h
parent7e1c456b8eeae792c3c6edeb754503e5e20a5df5 (diff)
forgot patches in last commit
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