diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-01-28 14:33:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-01-28 14:33:41 -0800 |
commit | 87a181ce2647225e21e5824104ca1f7b04a221c7 (patch) | |
tree | 85adb0349832abcdcd1ac4492f9ad10e929450d2 /sys.c | |
parent | 191f62fab880b9aa001a566a95343c4fe5565b40 (diff) |
Fix sparse warnings: non-ANSI function declaration (missing void)
Diffstat (limited to 'sys.c')
-rw-r--r-- | sys.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -455,7 +455,7 @@ openTty(char *line) saved IDs at all, so there's no issue. */ #if (defined(BSD) && !defined(_POSIX_SAVED_IDS)) || defined(_MINIX) int -droppriv() +droppriv(void) { int rc; rc = setuid(getuid()); @@ -465,7 +465,7 @@ droppriv() } #elif defined(_POSIX_SAVED_IDS) int -droppriv() +droppriv(void) { int uid = getuid(); int euid = geteuid(); @@ -484,7 +484,7 @@ droppriv() } #else int -droppriv() +droppriv(void) { int uid = getuid(); int euid = geteuid(); |