summaryrefslogtreecommitdiff
path: root/tools/add_gc_prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/add_gc_prefix.c')
-rw-r--r--tools/add_gc_prefix.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/add_gc_prefix.c b/tools/add_gc_prefix.c
index ecf4ff45..ddc93371 100644
--- a/tools/add_gc_prefix.c
+++ b/tools/add_gc_prefix.c
@@ -1,19 +1,16 @@
# include <stdio.h>
# include <gc.h>
-int main(argc, argv, envp)
-int argc;
-char ** argv;
-char ** envp;
+int main(int argc, char ** argv)
{
int i;
for (i = 1; i < argc; i++) {
if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
- printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
+ printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
} else {
- printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
- GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
+ printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
+ GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
}
}
return(0);