]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a gcc warning.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Jun 2003 09:54:42 +0000 (09:54 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:44 +0000 (12:10 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/relocatable.c
gettext-tools/lib/ChangeLog
gettext-tools/lib/relocatable.c

index 7c53ccafe4907c6de06374e3bfa7d36766ae3b96..d5e62f8d7bd7fd9ca91a447cbce4883d83298f25 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+       * relocatable.c (compute_curr_prefix): Comment out this function in
+       the case when it is not used.
+       Reported by Pavel Roskin <proski@gnu.org>.
+
 2003-06-22  Bruno Haible  <bruno@clisp.org>
 
        * gettextP.h: Undefine _INTL_REDIRECT_INLINE, _INTL_REDIRECT_MACROS,
index 16f79a528f0c6aac25308b2b045d9e5611207906..7846e5f4f8754060791ef414383d2ab2e1478faa 100644 (file)
@@ -152,6 +152,8 @@ set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg)
 #endif
 }
 
+#if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR)
+
 /* Convenience function:
    Computes the current installation prefix, based on the original
    installation prefix, the original installation directory of a particular
@@ -266,6 +268,8 @@ compute_curr_prefix (const char *orig_installprefix,
   }
 }
 
+#endif /* !IN_LIBRARY || PIC */
+
 #if defined PIC && defined INSTALLDIR
 
 /* Full pathname of shared library, or NULL.  */
index 7d8431a68a87f878256bfb211ea62b00845dddbf..007fc2cf0612a743adb186fcedc6f09d414b0a08 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-22  Bruno Haible  <bruno@clisp.org>
+
+       * relocatable.c (compute_curr_prefix): Comment out this function in
+       the case when it is not used.
+       Reported by Pavel Roskin <proski@gnu.org>.
+
 2003-06-13  Bruno Haible  <bruno@clisp.org>
 
        * wait-process.h (wait_subprocess): Add null_stderr argument.
index 16f79a528f0c6aac25308b2b045d9e5611207906..7846e5f4f8754060791ef414383d2ab2e1478faa 100644 (file)
@@ -152,6 +152,8 @@ set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg)
 #endif
 }
 
+#if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR)
+
 /* Convenience function:
    Computes the current installation prefix, based on the original
    installation prefix, the original installation directory of a particular
@@ -266,6 +268,8 @@ compute_curr_prefix (const char *orig_installprefix,
   }
 }
 
+#endif /* !IN_LIBRARY || PIC */
+
 #if defined PIC && defined INSTALLDIR
 
 /* Full pathname of shared library, or NULL.  */