about summary refs log tree commit diff
path: root/manual/examples/argp-ex4.c
diff options
context:
space:
mode:
authorRafe Kettler <rafe.kettler@gmail.com>2012-02-18 00:10:47 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-18 00:12:10 +0000
commit09c093b500d5a002d6b420f5972e5469f115ea36 (patch)
treea1a6fd8d3456035c0af0b5127650be5fbca3ddad /manual/examples/argp-ex4.c
parent2ee633a2433eb937c1dbd9646789af46aba50831 (diff)
downloadglibc-09c093b500d5a002d6b420f5972e5469f115ea36.tar.gz
glibc-09c093b500d5a002d6b420f5972e5469f115ea36.tar.xz
glibc-09c093b500d5a002d6b420f5972e5469f115ea36.zip
Make declarations of "main" in examples consistent.
Diffstat (limited to 'manual/examples/argp-ex4.c')
-rw-r--r--manual/examples/argp-ex4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/examples/argp-ex4.c b/manual/examples/argp-ex4.c
index 8628a235dd..2b61358c7e 100644
--- a/manual/examples/argp-ex4.c
+++ b/manual/examples/argp-ex4.c
@@ -131,7 +131,8 @@ parse_opt (int key, char *arg, struct argp_state *state)
 /* Our argp parser.  */
 static struct argp argp = { options, parse_opt, args_doc, doc };
 
-int main (int argc, char **argv)
+int
+main (int argc, char **argv)
 {
   int i, j;
   struct arguments arguments;