diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-15 15:03:58 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-15 15:03:58 +0100 |
commit | c20060b5e01dadc59f501b92e2e4ad752e625a89 (patch) | |
tree | 131f3f88f68dc9a88ce440ae1fd8f112630901c7 /tools/misc/xenperf.c | |
parent | 032a69e5b7d9e23fbd2b1c1f9b2fd60118b6a5cb (diff) | |
download | xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.tar.gz xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.tar.bz2 xen-c20060b5e01dadc59f501b92e2e4ad752e625a89.zip |
tools: Make functions static which should not be exported.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/misc/xenperf.c')
-rw-r--r-- | tools/misc/xenperf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/xenperf.c b/tools/misc/xenperf.c index e91c5b6362..36d1f1d7f3 100644 --- a/tools/misc/xenperf.c +++ b/tools/misc/xenperf.c @@ -68,7 +68,7 @@ const char *hypercall_name_table[64] = }; #undef X -int lock_pages(void *addr, size_t len) +static int lock_pages(void *addr, size_t len) { int e = 0; #ifndef __sun__ @@ -77,7 +77,7 @@ int lock_pages(void *addr, size_t len) return (e); } -void unlock_pages(void *addr, size_t len) +static void unlock_pages(void *addr, size_t len) { #ifndef __sun__ munlock(addr, len); |