summaryrefslogtreecommitdiff
path: root/tests/ft.c
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2002-07-22 23:35:31 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:47 +0200
commit673f690a37f6673a3262e933709c79de8a66f48c (patch)
tree3acd007863bf23ce8549f9edb5e51d23a3bc6078 /tests/ft.c
parent352e3b3230dfc6746be6d53325ffe1e33efc5289 (diff)
downloaddev86-673f690a37f6673a3262e933709c79de8a66f48c.tar.gz
Import Dev86src-0.16.4.tar.gzv0.16.4
Diffstat (limited to 'tests/ft.c')
-rw-r--r--tests/ft.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ft.c b/tests/ft.c
index 027b4c5..c27c5dd 100644
--- a/tests/ft.c
+++ b/tests/ft.c
@@ -42,7 +42,7 @@
#define PR(x) ()
#endif
-void main PR((int argc, char ** argv));
+int main PR((int argc, char ** argv));
int select_command PR((char * argv));
void do_prep PR((void));
void do_post PR((void));
@@ -156,7 +156,7 @@ struct stat access_stat;
int done_something = 0;
-void
+int
main(argc, argv)
int argc; char ** argv;
{
@@ -261,7 +261,7 @@ int argc; char ** argv;
else
Usage();
}
- exit(0);
+ return 0;
}
int select_command(argv)