summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/syscall.h
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2016-03-28 22:10:13 -0700
committerRobert Mustacchi <rm@joyent.com>2016-04-29 14:39:48 -0700
commitc22cda1b41022b307ea9fda8c9dc19e6329a109a (patch)
tree0e3c84cd0df8653c0e1aeffca850f0726ebc1c08 /usr/src/uts/common/sys/syscall.h
parent5ffe84436efb0849931d99235105feb72ae5144d (diff)
downloadillumos-joyent-c22cda1b41022b307ea9fda8c9dc19e6329a109a.tar.gz
6847 syscall header declaration incorrect
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/common/sys/syscall.h')
-rw-r--r--usr/src/uts/common/sys/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/syscall.h b/usr/src/uts/common/sys/syscall.h
index e365668f85..7d86565564 100644
--- a/usr/src/uts/common/sys/syscall.h
+++ b/usr/src/uts/common/sys/syscall.h
@@ -511,8 +511,8 @@ typedef struct { /* return values from system call */
#if !defined(_KERNEL)
-extern int syscall(int, ...);
-extern int __systemcall(sysret_t *, int, ...);
+extern long syscall(int, ...);
+extern long __systemcall(sysret_t *, int, ...);
extern int __set_errno(int);
#endif /* _KERNEL */