summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-12-10 00:04:32 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-12-10 00:05:02 -0800
commit7a580ac13fce90353ccbef53c559bbf1ba778831 (patch)
treee9ca062fe5ff1b06445ecc35c0c9f35eb252e46a
parentcf08b277a983a97a3db1ee39eeeb6bf953d084db (diff)
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 <alan.coopersmith@oracle.com>
-rw-r--r--xsm.h2
1 files changed, 1 insertions, 1 deletions
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