summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-05-13 05:11:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-05-13 05:11:09 +0000
commitc0d0d800bb5bf31bf880969f954658110df27f06 (patch)
tree9418b7cdc7ff2f668cd6628ced1d059c9c059868
parent6f3f43d5dc26f44a788dba385221e2da573bdc49 (diff)
main returns int, not void
-rw-r--r--sys/arch/i386/isa/pcvt/Util/fed/fed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/fed/fed.c b/sys/arch/i386/isa/pcvt/Util/fed/fed.c
index aa577ab9897..d001a711a2f 100644
--- a/sys/arch/i386/isa/pcvt/Util/fed/fed.c
+++ b/sys/arch/i386/isa/pcvt/Util/fed/fed.c
@@ -48,7 +48,7 @@
#include "fed.h"
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
int i;
int row, col;
@@ -163,6 +163,7 @@ void main(int argc, char *argv[])
writefont();
}
endwin();
+ exit(0);
}
/*---------------------------------- E O F ----------------------------------*/