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:
committed by
Joseph Myers
parent
2ee633a243
commit
09c093b500
@@ -5,7 +5,8 @@
|
||||
|
||||
static char buffer[SIZE];
|
||||
|
||||
main ()
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
strncpy (buffer, "hello", SIZE);
|
||||
puts (buffer);
|
||||
|
||||
Reference in New Issue
Block a user