]> git.sur5r.net Git - i3/i3/blobdiff - include/util.h
move strndup to libi3
[i3/i3] / include / util.h
index efef0bd089a6fa803a817afe815f3bfc2bdd992a..68009442e4b24afc1df2d685e09688cdb93ee0d4 100644 (file)
@@ -139,16 +139,4 @@ void *memmem(const void *l, size_t l_len, const void *s, size_t s_len);
 
 #endif
 
-#if defined(__APPLE__)
-
-/*
- * Taken from FreeBSD
- * Returns a pointer to a new string which is a duplicate of the
- * string, but only copies at most n characters.
- *
- */
-char *strndup(const char *str, size_t n);
-
-#endif
-
 #endif