diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-18 10:03:38 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-18 10:03:38 +0000 |
commit | 5bcf1990f4d5d2498d15ce7006a2aff6bdfa7081 (patch) | |
tree | 300036578e0a02acc7cd79be6df331d43a4eaa7c /Build/source/texk/web2c/otps/otp2ocp.c | |
parent | 611243024d58336edbf2e252f8536f1513e0d5b5 (diff) |
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13810 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/otps/otp2ocp.c')
-rw-r--r-- | Build/source/texk/web2c/otps/otp2ocp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/otps/otp2ocp.c b/Build/source/texk/web2c/otps/otp2ocp.c index d9b7ef10ab4..4037fc21e9e 100644 --- a/Build/source/texk/web2c/otps/otp2ocp.c +++ b/Build/source/texk/web2c/otps/otp2ocp.c @@ -32,14 +32,14 @@ along with Omega; if not, write to the Free Software Foundation, Inc., #include "routines.h" extern FILE *yyin; -int yywrap -P1H (void) +int +yywrap(void) { return 1; } -void output -P2C (FILE *, output_file, int, i) +static void +output(FILE *output_file, int i) { /* make sure output is in big-endian form */ char j; @@ -57,8 +57,8 @@ P2C (FILE *, output_file, int, i) fwrite (&j, 1, 1, output_file); } -void otp_read -P2C (string, input_name, string, output_name) +static void +otp_read(string input_name, string output_name) { int i, j, len, no_words; int *table, *instrs; @@ -118,8 +118,8 @@ P2C (string, input_name, string, output_name) } } -int main -P2C (int, argc, string *, argv) +int +main(int argc, string *argv) { string input_name, full_input_name; string output_name; |