Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys If cpu_exec_aout_makecmds is a macro, don't declare ...



details:   https://anonhg.NetBSD.org/src/rev/835967e31ce9
branches:  trunk
changeset: 573675:835967e31ce9
user:      he <he%NetBSD.org@localhost>
date:      Fri Feb 04 22:35:02 2005 +0000

description:
If cpu_exec_aout_makecmds is a macro, don't declare a prototype
with the same name.  Fixes build problem for the powerpc ports,
since those define cpu_exec_aout_makecmds to ENOEXEC.

diffstat:

 sys/sys/exec_aout.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cb4f84e72ea9 -r 835967e31ce9 sys/sys/exec_aout.h
--- a/sys/sys/exec_aout.h       Fri Feb 04 22:20:55 2005 +0000
+++ b/sys/sys/exec_aout.h       Fri Feb 04 22:35:02 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_aout.h,v 1.34 2005/02/03 19:20:01 perry Exp $     */
+/*     $NetBSD: exec_aout.h,v 1.35 2005/02/04 22:35:02 he Exp $        */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -207,7 +207,9 @@
 /*
  * MD portion
  */
+#ifndef cpu_exec_aout_makecmds
 int    cpu_exec_aout_makecmds(struct proc *, struct exec_package *);
+#endif
 
 #endif /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index