diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 13:22:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 13:22:25 +0000 |
commit | 63107c9f9a225871d1be1a25f2250b10b19d0a5b (patch) | |
tree | d40b413f20e43fd9508c3cae06715c33f06fbeee /lib | |
parent | 8a81d09a7fe07f2caca89f7aabe4677903ee2b2c (diff) | |
download | coreutils-63107c9f9a225871d1be1a25f2250b10b19d0a5b.tar.xz |
Update prototype to reflect new signature.
Include <stddef.h>, for size_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xreadlink.h | 5 |
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); |