about summary refs log tree commit homepage
path: root/fdmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdmap.c')
-rw-r--r--fdmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdmap.c b/fdmap.c
index c59157f..8cb9954 100644
--- a/fdmap.c
+++ b/fdmap.c
@@ -115,7 +115,7 @@ MOG_NOINLINE static struct mog_fd * grow_ref(size_t fd)
  * Look up a mog_fd structure based on fd.  This means memory is reused
  * by us just as FDs are reused by the kernel.
  */
-struct mog_fd *mog_fd_get(int fd)
+static struct mog_fd *mog_fd_get(int fd)
 {
         assert(fd >= 0 && "FD is negative");
         if (MOG_LIKELY(fd < mog_sync_fetch(&max_fd)))