aboutsummaryrefslogtreecommitdiff
path: root/manual/examples
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-11-10 01:18:43 +0000
committerRoland McGrath <roland@gnu.org>2003-11-10 01:18:43 +0000
commitdacb975a0d96c3cacd7520215c6f0da7d6501ba6 (patch)
treec3152ae5a40f40c1bd26d58bd0cceb99df0e397f /manual/examples
parentf1ca52ec9a64965dbc626e85c1940fa2ad9fab3d (diff)
downloadglibc-dacb975a0d96c3cacd7520215c6f0da7d6501ba6.zip
glibc-dacb975a0d96c3cacd7520215c6f0da7d6501ba6.tar.gz
glibc-dacb975a0d96c3cacd7520215c6f0da7d6501ba6.tar.bz2
2003-11-09 Roland McGrath <roland@redhat.com>
* manual/examples/dir2.c (one): Add const to argument type. Reported by J de Haan <j.de.haan@home.nl>.
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/dir2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/examples/dir2.c b/manual/examples/dir2.c
index e315769..a75c885 100644
--- a/manual/examples/dir2.c
+++ b/manual/examples/dir2.c
@@ -4,7 +4,7 @@
/*@end group*/
static int
-one (struct dirent *unused)
+one (const struct dirent *unused)
{
return 1;
}