From 419fdf1248633b8d933d5d2c739b36d09f52cda0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 21 Jan 1998 16:50:18 +0000 Subject: Corrected prototypes for main per Ralf Corsepius' report of warnings generated when egcs is used with "-Wall -pedantic". --- tools/build/src/packhex.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/build/src/packhex.c') diff --git a/tools/build/src/packhex.c b/tools/build/src/packhex.c index ddd010c4a9..6410b520c6 100644 --- a/tools/build/src/packhex.c +++ b/tools/build/src/packhex.c @@ -388,7 +388,10 @@ Rec_vitals *formats[] = * *******************************************************************************/ -void main( void ) +int main( + int argc, + char **argv +) { char inbuff[ MAX_LINE_SIZE ], outbuff[ MAX_LINE_SIZE ]; -- cgit v1.2.3