diff --git a/src/ChangeLog b/src/ChangeLog index 7ef51d175..0bd9c57eb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -7,6 +7,8 @@ since GNU gettext defines a macro printf on some systems. * find.c: After the "panelize" command, always select the first file from the panel, not. + * util.h (str_unconst): This function is never needed to be + inlined. 2006-02-03 Pavel Tsekov diff --git a/src/util.h b/src/util.h index c45dad33b..4e9a113ee 100644 --- a/src/util.h +++ b/src/util.h @@ -7,15 +7,7 @@ * intended to pass strings to legacy libraries that don't know yet * about the "const" modifier. The return value of this function * MUST NOT be modified. */ -#ifdef INLINE_STR_UNCONST -static inline char *str_unconst_inlined (const char *s) -{ - return (char *) s; -} -#define str_unconst(s) str_unconst_inlined(s) -#else extern char *str_unconst (const char *); -#endif /* String managing functions */