X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frelocatable.h;h=5970be7a27456a26835552d257b9099966da28e6;hb=2caf4791a548a8b4fb500256a6dfe05626f2e467;hp=f6d38321aef89ddd01e23a670298a4e2e8bd74e7;hpb=86f544b2e68eefe1410f8c7db3be1819a18dbfb9;p=gnulib.git diff --git a/lib/relocatable.h b/lib/relocatable.h index f6d38321a..5970be7a2 100644 --- a/lib/relocatable.h +++ b/lib/relocatable.h @@ -1,5 +1,5 @@ /* Provide relocatable packages. - Copyright (C) 2003, 2005 Free Software Foundation, Inc. + Copyright (C) 2003, 2005, 2008 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify it @@ -59,10 +59,11 @@ extern const char * relocate (const char *pathname); /* Convenience function: Computes the current installation prefix, based on the original installation prefix, the original installation directory of a particular - file, and the current pathname of this file. Returns NULL upon failure. */ -extern const char * compute_curr_prefix (const char *orig_installprefix, - const char *orig_installdir, - const char *curr_pathname); + file, and the current pathname of this file. + Returns it, freshly allocated. Returns NULL upon failure. */ +extern char * compute_curr_prefix (const char *orig_installprefix, + const char *orig_installdir, + const char *curr_pathname); #else