summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/include
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2014-03-21 14:17:19 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-24 08:31:48 +0100
commit8e133b25005947879113a46cc33414dfbcce6123 (patch)
tree1cc7df3a36117fe345536d647524f25cd9345050 /cpukit/librpc/include
parentscore: Start thread dispatch profiling later (diff)
downloadrtems-8e133b25005947879113a46cc33414dfbcce6123.tar.bz2
librpc: Use POSIX key instead of task variables
Diffstat (limited to 'cpukit/librpc/include')
-rw-r--r--cpukit/librpc/include/rpc/rpc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/librpc/include/rpc/rpc.h b/cpukit/librpc/include/rpc/rpc.h
index 95df085926..20065efd4d 100644
--- a/cpukit/librpc/include/rpc/rpc.h
+++ b/cpukit/librpc/include/rpc/rpc.h
@@ -104,7 +104,9 @@ struct _rtems_rpc_task_variables {
struct authsvc *svc_auths_Auths;
};
-extern struct _rtems_rpc_task_variables *rtems_rpc_task_variables;
+
+struct _rtems_rpc_task_variables *rtems_rpc_task_variables_get(void);
+#define rtems_rpc_task_variables rtems_rpc_task_variables_get()
#define svc_maxfd (rtems_rpc_task_variables->svc_svc_maxfd)
#define svc_fdset (rtems_rpc_task_variables->svc_svc_fdset)