From 828dd435725ea315abd2ea9875325ee3b17041a9 Mon Sep 17 00:00:00 2001 From: "Nathan P. Reiner" Date: Thu, 15 Dec 2022 18:20:33 +0100 Subject: did this while lecture (builtins, parsing, exec and env by stdlib) --- lib/sys/dup2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sys/dup2.h') diff --git a/lib/sys/dup2.h b/lib/sys/dup2.h index 7726efb..9e67eec 100644 --- a/lib/sys/dup2.h +++ b/lib/sys/dup2.h @@ -3,7 +3,7 @@ #include "syscalls.h" -int dup2(unsigned int oldfd, unsigned int newfd) +static int dup2(unsigned int oldfd, unsigned int newfd) { return syscall(DUP2, oldfd, newfd); } -- cgit v1.2.3-70-g09d2