aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/longopt.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/longopt.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/longopt.c')
-rw-r--r--manual/examples/longopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/manual/examples/longopt.c b/manual/examples/longopt.c
index 1661327f53..989e88713e 100644
--- a/manual/examples/longopt.c
+++ b/manual/examples/longopt.c
@@ -6,9 +6,7 @@
static int verbose_flag;
int
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
int c;