]> mj.ucw.cz Git - libucw.git/commitdiff
Fix compilation after writing docs
authorMichal Vaner <vorner@ucw.cz>
Wed, 1 Oct 2008 08:25:39 +0000 (10:25 +0200)
committerMichal Vaner <vorner@ucw.cz>
Wed, 1 Oct 2008 08:25:39 +0000 (10:25 +0200)
ucw/mempool.h

index 88d19e7fba320b9decb667d5e9ece9a34adbea01..61a6f3d9ac146c1a77ec825df30b8895ecf77ab6 100644 (file)
@@ -375,7 +375,7 @@ char *mp_multicat(struct mempool *, ...) LIKE_MALLOC SENTINEL_CHECK;
 /**
  * Concatenates two strings and stores result on @mp.
  */
-static inline char *mp_strcat(struct mempool *mp, const char *x, const char *y) LIKE_MALLOC
+static inline char LIKE_MALLOC *mp_strcat(struct mempool *mp, const char *x, const char *y)
 {
   return mp_multicat(mp, x, y, NULL);
 }