diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-24 07:02:11 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-24 07:02:11 +0000 |
commit | 6cbeff63c5f18ab4752342de7ae83a35118ebc38 (patch) | |
tree | e3becf02bc3d160206e1370760b38fd6a3c03609 /Build/source/texk/web2c/lib/openclose.c | |
parent | 4257aa8b08cf9d60fbf6dd3d5da0afae5e4308ba (diff) |
use ANSI C function declarations and prototypes
git-svn-id: svn://tug.org/texlive/trunk@13938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/openclose.c')
-rw-r--r-- | Build/source/texk/web2c/lib/openclose.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/lib/openclose.c b/Build/source/texk/web2c/lib/openclose.c index 72ca0d890dd..dab1b4ff43c 100644 --- a/Build/source/texk/web2c/lib/openclose.c +++ b/Build/source/texk/web2c/lib/openclose.c @@ -35,7 +35,7 @@ int texinputtype; /* Helpers for the filename recorder... */ /* Start the recorder */ static void -recorder_start() +recorder_start(void) { /* Alas, while we might want to use mkstemp it is not portable. So we have to be content with using a default name... */ @@ -61,7 +61,7 @@ recorder_start() /* Change the name of the recorder file. */ void -recorder_change_filename P1C(string, new_name) +recorder_change_filename (string new_name) { if (!recorder_file) return; @@ -72,7 +72,7 @@ recorder_change_filename P1C(string, new_name) /* helper for recorder_record_* */ static void -recorder_record_name P2C(string, prefix, const_string, nameoffile) +recorder_record_name (string prefix, const_string nameoffile) { if (recorder_enabled) { if (!recorder_file) @@ -84,14 +84,14 @@ recorder_record_name P2C(string, prefix, const_string, nameoffile) /* record an input file */ void -recorder_record_input P1C(const_string, nameoffile) +recorder_record_input (const_string nameoffile) { recorder_record_name ("INPUT", nameoffile); } /* record an output file */ void -recorder_record_output P1C(const_string, nameoffile) +recorder_record_output (const_string nameoffile) { recorder_record_name ("OUTPUT", nameoffile); } @@ -102,7 +102,7 @@ recorder_record_output P1C(const_string, nameoffile) the full filename opened, and `namelength' to its length. */ boolean -open_input P3C(FILE **, f_ptr, int, filefmt, const_string, fopen_mode) +open_input (FILE **f_ptr, int filefmt, const_string fopen_mode) { string fname = NULL; #ifdef FUNNY_CORE_DUMP @@ -221,7 +221,7 @@ open_input P3C(FILE **, f_ptr, int, filefmt, const_string, fopen_mode) necessary, and `namelength' to its length. */ boolean -open_output P2C(FILE **, f_ptr, const_string, fopen_mode) +open_output (FILE **f_ptr, const_string fopen_mode) { string fname; boolean absolute = kpse_absolute_p(nameoffile+1, false); @@ -263,7 +263,7 @@ open_output P2C(FILE **, f_ptr, const_string, fopen_mode) /* Close F. */ void -close_file P1C(FILE *, f) +close_file (FILE *f) { /* If F is null, just return. bad_pool might close a file that has never been opened. */ |