summaryrefslogtreecommitdiff
path: root/test/args
diff options
context:
space:
mode:
Diffstat (limited to 'test/args')
-rw-r--r--test/args/arg_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/args/arg_test.c b/test/args/arg_test.c
index 830bb047c..b99f760c0 100644
--- a/test/args/arg_test.c
+++ b/test/args/arg_test.c
@@ -23,9 +23,10 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
-int main( int argc, char **argv)
+int main(int argc, char **argv)
{
int i=0;
char** index=__environ;
@@ -42,7 +43,7 @@ int main( int argc, char **argv)
fprintf(stderr, "argc=%d\n", argc);
- for(i=0;i<argc;i++){
+ for(i=0;i<argc;i++) {
fprintf(stderr, "argv[%d]='%s'\n", i, argv[i]);
}