From 5ef5088ac4e038d0a147a08377ef087fd6edf527 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 2 Feb 2002 06:50:57 +0000 Subject: o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ... --- bin/sh/show.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/sh/show.h') diff --git a/bin/sh/show.h b/bin/sh/show.h index 98ec398..edd4309 100644 --- a/bin/sh/show.h +++ b/bin/sh/show.h @@ -34,11 +34,11 @@ * $FreeBSD$ */ -void showtree __P((union node *)); +void showtree(union node *); #ifdef DEBUG -void sh_trace __P((const char *, ...)) __printflike(1, 2); -void trargs __P((char **)); -void trputc __P((int)); -void trputs __P((char *)); -void opentrace __P((void)); +void sh_trace(const char *, ...) __printflike(1, 2); +void trargs(char **); +void trputc(int); +void trputs(char *); +void opentrace(void); #endif -- cgit v1.1