aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/close.h
diff options
context:
space:
mode:
authorNathan P. Reiner <nathan@nathanreiner.xyz>2022-12-15 18:20:33 +0100
committerNathan P. Reiner <nathan@nathanreiner.xyz>2022-12-15 18:20:33 +0100
commit828dd435725ea315abd2ea9875325ee3b17041a9 (patch)
tree72d80411d5cecc8758fc87867521374e90caa44d /lib/sys/close.h
parent7536d000ac9a5188378f2749ecfd7f0ccb437573 (diff)
did this while lecture (builtins, parsing, exec and env by stdlib)
Diffstat (limited to 'lib/sys/close.h')
-rw-r--r--lib/sys/close.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/close.h b/lib/sys/close.h
index 2aa3a71..5a6fbe4 100644
--- a/lib/sys/close.h
+++ b/lib/sys/close.h
@@ -3,7 +3,7 @@
#include "syscalls.h"
-int close(unsigned int fd)
+static int close(unsigned int fd)
{
syscall(CLOSE, fd);
}