* util.h (str_unconst): This function is never needed to be
inlined.
Этот коммит содержится в:
родитель
9b8eb2ad78
Коммит
f7f06c0202
@ -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 <ptsekov@gmx.net>
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user