diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-15 04:05:34 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-15 04:05:34 +0000 |
commit | 8937ed4066eaccc2c300d59a8c6e54e7a8855a61 (patch) | |
tree | 5339902780c6ed0f5cfe5f2d227c77c3b6d22ba7 /devel/cocktail/files/patch-reuse-c-rSystem.h | |
parent | 1e1835f4613a603e2b892ba25908359ac7093d3f (diff) | |
download | ports-8937ed4066eaccc2c300d59a8c6e54e7a8855a61.tar.gz ports-8937ed4066eaccc2c300d59a8c6e54e7a8855a61.zip |
Notes
Diffstat (limited to 'devel/cocktail/files/patch-reuse-c-rSystem.h')
-rw-r--r-- | devel/cocktail/files/patch-reuse-c-rSystem.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/cocktail/files/patch-reuse-c-rSystem.h b/devel/cocktail/files/patch-reuse-c-rSystem.h new file mode 100644 index 000000000000..7887ac75ac1e --- /dev/null +++ b/devel/cocktail/files/patch-reuse-c-rSystem.h @@ -0,0 +1,44 @@ +--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/rSystem.h Tue Feb 15 14:26:43 1994 ++++ ./reuse/c/rSystem.h Fri Sep 10 13:35:03 2004 +@@ -10,8 +10,10 @@ + + # ifdef __STDC__ + # define ARGS(parameters) parameters ++# define NOARGS void + # else + # define ARGS(parameters) () ++# define NOARGS + # endif + + /* interface for machine dependencies */ +@@ -59,10 +61,10 @@ + /* memory space of size 'ByteCount' bytes. */ + /* Returns NIL if space is exhausted. */ + +-extern long rTime (); ++extern long rTime (NOARGS); + /* Returns consumed cpu-time in milliseconds. */ + +-extern int GetArgCount (); ++extern int GetArgCount (NOARGS); + /* Returns number of arguments. */ + + extern void GetArgument ARGS((int ArgNum, char * Argument)); +@@ -73,7 +75,7 @@ + /* Dummy procedure that passes the values */ + /* 'argc' and 'argv' from Modula-2 to C. */ + +-extern int rErrNo (); ++extern int rErrNo (NOARGS); + /* Returns the current system error code. */ + + extern int rSystem ARGS((char * String)); +@@ -85,7 +87,7 @@ + /* Terminates program execution and passes the */ + /* value 'Status' to the operating system. */ + +-extern void BEGIN_System (); ++extern void BEGIN_rSystem (NOARGS); + /* Dummy procedure with empty body. */ + + # endif |