1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Make declarations of "main" in examples consistent.

This commit is contained in:
Rafe Kettler
2012-02-18 00:10:47 +00:00
committed by Joseph Myers
parent 2ee633a243
commit 09c093b500
9 changed files with 29 additions and 11 deletions

View File

@@ -5,7 +5,8 @@
static char buffer[SIZE];
main ()
int
main (void)
{
strncpy (buffer, "hello", SIZE);
puts (buffer);