diff src/syscalls.cc @ 2473:bb0c213e5885

[project @ 1996-11-06 04:34:55 by jwe]
author jwe
date Wed, 06 Nov 1996 04:35:48 +0000
parents 0c788e9b53b8
children 1d7925d6bede
line wrap: on
line diff
--- a/src/syscalls.cc
+++ b/src/syscalls.cc
@@ -309,7 +309,7 @@
   return retval;
 }
 
-DEFUN (geteuid, , ,
+DEFUN (geteuid, args, ,
   "uid = geteuid (): return the effective user id of the current process")
 {
   double retval = -1.0;
@@ -324,9 +324,11 @@
 #else
   gripe_not_supported ("geteuid");
 #endif
+
+  return retval;
 }
 
-DEFUN (getuid, , ,
+DEFUN (getuid, args, ,
   "uid = getuid (): return the real user id of the current process")
 {
   double retval = -1.0;
@@ -341,6 +343,8 @@
 #else
   gripe_not_supported ("getuid");
 #endif
+
+  return retval;
 }
 
 DEFUN (lstat, args, ,