summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit00c8ece258acfa8867485172af9e74313d25bbdf (patch)
treee8e6ce9889202cfbd44e23ef7b7d1f5907b9d5b8 /utils
parentb9b00cd60abd606fee136efbf6c376aace5f3f2a (diff)
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>
Diffstat (limited to 'utils')
-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 82ccbf691..d912a06c5 100644
--- a/utils/chroot_realpath.c
+++ b/utils/chroot_realpath.c
@@ -25,6 +25,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];