diff options
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/daemon.c | 2 | ||||
-rw-r--r-- | libc/unistd/sysconf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index 53fd902bf..599c3c8e6 100644 --- a/libc/unistd/daemon.c +++ b/libc/unistd/daemon.c @@ -63,7 +63,7 @@ /* use clone() to get fork() like behavior here -- we just want to disassociate * from the controlling terminal */ -pid_t _fork_parent(void) +static inline pid_t _fork_parent(void) { INTERNAL_SYSCALL_DECL(err); register long ret = INTERNAL_SYSCALL(clone, err, 2, CLONE_VM, 0); diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index 172794e9c..d04705abb 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -46,7 +46,7 @@ long int get_phys_pages(void) { struct sysinfo si; - int ps = getpagesize();; + int ps = getpagesize(); sysinfo(&si); @@ -59,7 +59,7 @@ long int get_phys_pages(void) long int get_avphys_pages(void) { struct sysinfo si; - int ps = getpagesize();; + int ps = getpagesize(); sysinfo(&si); |