]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/misc-progs/setuid.h
misc-progs: Remove own copy of strlcat.
[people/teissler/ipfire-2.x.git] / src / misc-progs / setuid.h
index d1155c5e8dedac0f426808888941136281f9fc6d..9df32066a1d166751308bf458eb9fd73cef57bc9 100644 (file)
@@ -23,7 +23,10 @@ extern char * trusted_env[4];
 int system_core(char* command, uid_t uid, gid_t gid, char *error);
 int safe_system(char* command);
 int unpriv_system(char* command, uid_t uid, gid_t gid);
-size_t strlcat(char *dst, const char *src, size_t len);
 int initsetuid(void);
 
+/* Compatibility for the local copy of strlcat,
+ * which has been removed. */
+#define strlcat(src, dst, size) strncat(src, dst, size)
+
 #endif