changeset 12049:22a617bea642

Declare canonicalize_file_name.
author Bruno Haible <bruno@clisp.org>
date Sun, 20 Sep 2009 05:58:45 +0200
parents 0f01e7ffb856
children d1840b588599
files ChangeLog lib/progreloc.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-19  Bruno Haible  <bruno@clisp.org>
+
+	* lib/progreloc.c (canonicalize_file_name): New declaration.
+
 2009-09-19  Eric Blake  <ebb9@byu.net>
 
 	link: fix quoting
--- a/lib/progreloc.c
+++ b/lib/progreloc.c
@@ -59,6 +59,11 @@
 # include "xalloc.h"
 #endif
 
+/* Declare canonicalize_file_name.
+   The <stdlib.h> included above may be the system's one, not the gnulib
+   one.  */
+extern char * canonicalize_file_name (const char *name);
+
 /* Pathname support.
    ISSLASH(C)           tests whether C is a directory separator character.
    IS_PATH_WITH_DIR(P)  tests whether P contains a directory specification.