summaryrefslogtreecommitdiffstats
path: root/tools/build/packhex.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/packhex.c
parentAdded Code to dop the output in a format which a custom Visual Basic (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/packhex.c')
-rw-r--r--tools/build/packhex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/build/packhex.c b/tools/build/packhex.c
index ddd010c4a9..6410b520c6 100644
--- a/tools/build/packhex.c
+++ b/tools/build/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 ];