summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 18:18:34 +0000
committermillert <millert@openbsd.org>2002-02-16 18:18:34 +0000
commit9c31ed2ba17904598d4c906613ca8bda7557a968 (patch)
treee9f223fa53e5b4ee8f5000abf4366be4456a079b
parentDon't prototype functions if they are really just macros. (diff)
downloadwireguard-openbsd-9c31ed2ba17904598d4c906613ca8bda7557a968.tar.xz
wireguard-openbsd-9c31ed2ba17904598d4c906613ca8bda7557a968.zip
Don't prototype functions if they are really just macros.
cpu_exec_aout_makecmds() may be #defined to ENOEXEC
-rw-r--r--sys/sys/exec_aout.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/exec_aout.h b/sys/sys/exec_aout.h
index c064a2914f0..1947681927a 100644
--- a/sys/sys/exec_aout.h
+++ b/sys/sys/exec_aout.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_aout.h,v 1.13 2001/11/14 14:43:42 hugh Exp $ */
+/* $OpenBSD: exec_aout.h,v 1.14 2002/02/16 18:18:34 millert Exp $ */
/* $NetBSD: exec_aout.h,v 1.15 1996/05/18 17:20:54 christos Exp $ */
/*
@@ -193,6 +193,8 @@ int exec_aout_prep_oldomagic __P((struct proc *, struct exec_package *));
/*
* MD portion
*/
+#if !defined(cpu_exec_aout_makecmds)
int cpu_exec_aout_makecmds __P((struct proc *, struct exec_package *));
+#endif
#endif /* _KERNEL */