From 7a580ac13fce90353ccbef53c559bbf1ba778831 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 10 Dec 2010 00:04:32 -0800 Subject: Make System() prototype for Solaris in xsm.h actually a prototype Fixes gcc warning: xsm.h:217: warning: function declaration isn't a prototype Signed-off-by: Alan Coopersmith --- xsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsm.h b/xsm.h index 75e7479..c9412f7 100644 --- a/xsm.h +++ b/xsm.h @@ -214,7 +214,7 @@ extern FILE *fdopen(int, char const *); #endif #if defined(sun) && defined(SVR4) -extern int System(); +extern int System(char *s); #define system(s) System(s) #endif -- cgit v1.2.3