summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-01 13:22:25 +0000
committerJim Meyering <jim@meyering.net>2004-06-01 13:22:25 +0000
commit63107c9f9a225871d1be1a25f2250b10b19d0a5b (patch)
treed40b413f20e43fd9508c3cae06715c33f06fbeee /lib
parent8a81d09a7fe07f2caca89f7aabe4677903ee2b2c (diff)
downloadcoreutils-63107c9f9a225871d1be1a25f2250b10b19d0a5b.tar.xz
Update prototype to reflect new signature.
Include <stddef.h>, for size_t.
Diffstat (limited to 'lib')
-rw-r--r--lib/xreadlink.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xreadlink.h b/lib/xreadlink.h
index d9441215f..5b2604bfe 100644
--- a/lib/xreadlink.h
+++ b/lib/xreadlink.h
@@ -1,6 +1,6 @@
/* readlink wrapper to return the link name in malloc'd storage
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,4 +19,5 @@
/* Written by Jim Meyering <jim@meyering.net> */
-char *xreadlink (char const *);
+#include <stddef.h>
+char *xreadlink (char const *, size_t);