Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/rump limit visibility of sysproxy calls to ...



details:   https://anonhg.NetBSD.org/src/rev/40e666d9e05e
branches:  trunk
changeset: 805481:40e666d9e05e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Jan 03 17:24:20 2015 +0000

description:
limit visibility of sysproxy calls to where they are needed

diffstat:

 sys/rump/include/rump/rumpuser.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 7022abe832fb -r 40e666d9e05e sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h  Sat Jan 03 17:23:51 2015 +0000
+++ b/sys/rump/include/rump/rumpuser.h  Sat Jan 03 17:24:20 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser.h,v 1.113 2014/06/18 19:50:32 alnsn Exp $     */
+/*     $NetBSD: rumpuser.h,v 1.114 2015/01/03 17:24:20 pooka Exp $     */
 
 /*
  * Copyright (c) 2007-2013 Antti Kantee.  All Rights Reserved.
@@ -235,6 +235,7 @@
 int rumpuser_daemonize_begin(void);
 int rumpuser_daemonize_done(int);
 
+#if defined(_RUMP_SYSPROXY) || defined(LIBRUMPUSER)
 /*
  * syscall proxy
  */
@@ -248,5 +249,6 @@
 int    rumpuser_sp_anonmmap(void *, size_t, void **);
 int    rumpuser_sp_raise(void *, int);
 void   rumpuser_sp_fini(void *);
+#endif /* _RUMP_SYSPROXY || LIBRUMPUSER */
 
 #endif /* _RUMP_RUMPUSER_H_ */



Home | Main Index | Thread Index | Old Index