diff options
author | Rafe Kettler <rafe.kettler@gmail.com> | 2012-02-18 00:10:47 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-02-18 00:12:10 +0000 |
commit | 09c093b500d5a002d6b420f5972e5469f115ea36 (patch) | |
tree | a1a6fd8d3456035c0af0b5127650be5fbca3ddad /manual/examples/strncat.c | |
parent | 2ee633a2433eb937c1dbd9646789af46aba50831 (diff) | |
download | glibc-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/strncat.c')
-rw-r--r-- | manual/examples/strncat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/examples/strncat.c b/manual/examples/strncat.c index f865167f4a..948d662a4e 100644 --- a/manual/examples/strncat.c +++ b/manual/examples/strncat.c @@ -5,7 +5,8 @@ static char buffer[SIZE]; -main () +int +main (void) { strncpy (buffer, "hello", SIZE); puts (buffer); |