From: Michal Vaner Date: Wed, 1 Oct 2008 11:25:03 +0000 (+0200) Subject: Fix the fix of compilation X-Git-Tag: holmes-import~275 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5b0cec395b3114b54e8533e8864fe7476f63c48f;p=libucw.git Fix the fix of compilation The LIKE_MALLOC flag should not be in the middle of return type. --- diff --git a/ucw/mempool.h b/ucw/mempool.h index 61a6f3d9..63b47937 100644 --- a/ucw/mempool.h +++ b/ucw/mempool.h @@ -375,7 +375,7 @@ char *mp_multicat(struct mempool *, ...) LIKE_MALLOC SENTINEL_CHECK; /** * Concatenates two strings and stores result on @mp. */ -static inline char LIKE_MALLOC *mp_strcat(struct mempool *mp, const char *x, const char *y) +static inline char *LIKE_MALLOC mp_strcat(struct mempool *mp, const char *x, const char *y) { return mp_multicat(mp, x, y, NULL); }