summaryrefslogtreecommitdiffstats
path: root/utils/chroot_realpath.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:16 -0700
commitf241d2e5e336d440db106e972138664baeadfd70 (patch)
treedb93c00cad051fb03305270804f39a9fd4ec7b9d /utils/chroot_realpath.c
parent2291c660e546e1fa766ef0c0696bd7b074c3b9f3 (diff)
downloaduClibc-alpine-f241d2e5e336d440db106e972138664baeadfd70.tar.bz2
uClibc-alpine-f241d2e5e336d440db106e972138664baeadfd70.tar.xz
Provide token prototypes for functions that are external but have no header
This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'utils/chroot_realpath.c')
-rw-r--r--utils/chroot_realpath.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/chroot_realpath.c b/utils/chroot_realpath.c
index ff1d85d7f..bee9c863c 100644
--- a/utils/chroot_realpath.c
+++ b/utils/chroot_realpath.c
@@ -41,6 +41,9 @@
#define MAX_READLINKS 32
char *chroot_realpath(const char *chroot, const char *path,
+ char resolved_path[]);
+
+char *chroot_realpath(const char *chroot, const char *path,
char resolved_path[])
{
char copy_path[PATH_MAX];