summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-22 21:01:05 +0000
committerRoland McGrath <roland@gnu.org>2001-12-22 21:01:05 +0000
commitb2d6a308bbb6fa296b2fa72c8c26d8072631bcf6 (patch)
tree74e1b57d4eaafbab98c7607ceea7700d58db4015 /libnetfs
parent2711cdd1267fe19a3f771e7c4fdb44cd310c8a1a (diff)
2001-12-22 Roland McGrath <roland@frob.com>
* priv.h (begin_using_protid_port): Change extern inline decl into static inline with __attribute__ ((unused)) (end_using_protid_port): Likewise.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/priv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetfs/priv.h b/libnetfs/priv.h
index 5afbae7f..b0f9f4a0 100644
--- a/libnetfs/priv.h
+++ b/libnetfs/priv.h
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/*
+ Copyright (C) 1995,96,2001 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -22,13 +22,13 @@
#include "netfs.h"
-extern inline struct protid *
+static inline struct protid * __attribute__ ((unused))
begin_using_protid_port (file_t port)
{
return ports_lookup_port (netfs_port_bucket, port, netfs_protid_class);
}
-extern inline void
+static inline void __attribute__ ((unused))
end_using_protid_port (struct protid *cred)
{
if (cred)