Skip to content

Commit

Permalink
Fixes smuos#2, smuos#4. Add argc and argv to main for argument parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 16, 2014
1 parent afdeaa7 commit 73ea801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fork1.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define FAILURE -1

int
main()
main(int argc, const char** argv)
{
if (argc != 0) {
fprintf(stdout, "Program %s takes no parameters.\n", argv[0]);
Expand Down

0 comments on commit 73ea801

Please sign in to comment.