aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/argp-ex1.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-ex1.c
parent2ee633a2433eb937c1dbd9646789af46aba50831 (diff)
downloadglibc-09c093b500d5a002d6b420f5972e5469f115ea36.tar
glibc-09c093b500d5a002d6b420f5972e5469f115ea36.tar.gz
glibc-09c093b500d5a002d6b420f5972e5469f115ea36.tar.bz2
glibc-09c093b500d5a002d6b420f5972e5469f115ea36.zip
Make declarations of "main" in examples consistent.
Diffstat (limited to 'manual/examples/argp-ex1.c')
-rw-r--r--manual/examples/argp-ex1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c
index 7bb5f2241c..931a8264a5 100644
--- a/manual/examples/argp-ex1.c
+++ b/manual/examples/argp-ex1.c
@@ -8,7 +8,8 @@
#include <stdlib.h>
#include <argp.h>
-int main (int argc, char **argv)
+int
+main (int argc, char **argv)
{
argp_parse (0, argc, argv, 0, 0, 0);
exit (0);