diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2006-12-09 14:26:29 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2006-12-09 14:26:29 +0000 |
commit | 556702aa8fb313e0e58bfc065aa9f76893cf521b (patch) | |
tree | 1c9b343307c09a44df2fc0bc64f4949463410c44 | |
parent | b26bfd18cecd1fb58ca6b1201cf135b88f9a6482 (diff) |
fix local argument definitions
git-svn-id: svn://tug.org/texlive/trunk@2653 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/mpdir/makecpool.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/mpdir/makecpool.c b/Build/source/texk/web2c/mpdir/makecpool.c index 02ce0f94bea..9130f3cb924 100644 --- a/Build/source/texk/web2c/mpdir/makecpool.c +++ b/Build/source/texk/web2c/mpdir/makecpool.c @@ -3,14 +3,15 @@ #include <stdlib.h> int main(int argc, char *argv[]) { + char *filename, *headername, data[1024]; + FILE *fh; if (argc!=3) { puts("Need exactly two arguments: pool_name and header_name"); exit(1); } - char *filename = argv[1]; - char *headername = argv[2]; - FILE *fh = fopen(filename,"r"); - char data[1024]; + filename = argv[1]; + headername = argv[2]; + fh = fopen(filename,"r"); printf( "/* This file is auto-generated by makecpool */\n" "\n" |