summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-04-30 20:45:01 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:09 +0200
commit087a14482b78a9a462af12932681054852572981 (patch)
treecc05ccce507d6968e137760dc4fb37a4c7c6d7d5 /include
parentbc85b8639e6a4f3133d8bf10161a5947dfb5b29d (diff)
2007-04-30 Thomas Schwinge <tschwinge@gnu.org>
We're not in the eighties anymore. List arguments in function prototypes and definitions for a lot of symbols. Also drop some unused prototypes. I refrain from listing every changed symbol. * include/mach/mach_traps.h: Do as described. * device/dev_hdr.h: Include <ipc/ipc_types.h>. * kern/syscall_subr.h: Include <kern/kern_types.h>.
Diffstat (limited to 'include')
-rw-r--r--include/mach/mach_traps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mach/mach_traps.h b/include/mach/mach_traps.h
index d18385d4..e6ea3a05 100644
--- a/include/mach/mach_traps.h
+++ b/include/mach/mach_traps.h
@@ -59,7 +59,7 @@ mach_port_t mach_task_self
()
{ return MACH_PORT_NULL; }
#else /* LINTLIBRARY */
- (self);
+ (void);
#endif /* LINTLIBRARY */
mach_port_t mach_host_self