summaryrefslogtreecommitdiffstats
path: root/tools/build/eolstrip.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-21 16:50:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-21 16:50:18 +0000
commit419fdf1248633b8d933d5d2c739b36d09f52cda0 (patch)
tree6cb017ae0b45803a55e2a284b430dd70fb13ff98 /tools/build/eolstrip.c
parent972dc40ea7c4374c34af9c0c01627151f9f764de (diff)
downloadrtems-419fdf1248633b8d933d5d2c739b36d09f52cda0.tar.bz2
Corrected prototypes for main per Ralf Corsepius' report of warnings
generated when egcs is used with "-Wall -pedantic".
Diffstat (limited to 'tools/build/eolstrip.c')
-rw-r--r--tools/build/eolstrip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/build/eolstrip.c b/tools/build/eolstrip.c
index b4e0d5d165..b8854fabf1 100644
--- a/tools/build/eolstrip.c
+++ b/tools/build/eolstrip.c
@@ -76,8 +76,10 @@ long getparm(char *s, long min, long max, char *msg);
#define stol(p) strtol(p, (char **) NULL, 0)
int Open(), Read(), Write();
-int
-main(int argc, char **argv, char **env)
+int main(
+ int argc,
+ char **argv
+)
{
register int c;
int showusage = FALSE; /* usage error? */