Module Name: src
Committed By: matt
Date: Sun Aug 16 03:32:04 UTC 2009
Modified Files:
src/lib/csu/common_elf [matt-nb5-mips64]: common.h
Log Message:
__syscall return quad_t, not int (think SYS_lseek)
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.32.1 src/lib/csu/common_elf/common.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/common_elf/common.h
diff -u src/lib/csu/common_elf/common.h:1.12 src/lib/csu/common_elf/common.h:1.12.32.1
--- src/lib/csu/common_elf/common.h:1.12 Thu May 18 17:54:19 2006
+++ src/lib/csu/common_elf/common.h Sun Aug 16 03:32:04 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: common.h,v 1.12 2006/05/18 17:54:19 christos Exp $ */
+/* $NetBSD: common.h,v 1.12.32.1 2009/08/16 03:32:04 matt Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -53,7 +53,7 @@
typedef void Obj_Entry;
#endif
-extern int __syscall(quad_t, ...);
+extern quad_t __syscall(quad_t, ...);
#define _exit(v) __syscall(SYS_exit, (v))
#define write(fd, s, n) __syscall(SYS_write, (fd), (s), (n))