summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/utils.c2
-rw-r--r--common/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/utils.c b/common/utils.c
index 0f65f4a..4465490 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -44,7 +44,7 @@
44 * @return a pointer to the terminating `\0' character of @s1, 44 * @return a pointer to the terminating `\0' character of @s1,
45 * or NULL if @s1 or @s2 is NULL. 45 * or NULL if @s1 or @s2 is NULL.
46 */ 46 */
47char *stpcpy(char * s1, const char * s2) 47char *stpcpy(char *s1, const char *s2)
48{ 48{
49 if (s1 == NULL || s2 == NULL) 49 if (s1 == NULL || s2 == NULL)
50 return NULL; 50 return NULL;
diff --git a/common/utils.h b/common/utils.h
index 412eb45..388a793 100644
--- a/common/utils.h
+++ b/common/utils.h
@@ -34,7 +34,7 @@
34#include <plist/plist.h> 34#include <plist/plist.h>
35 35
36#ifndef HAVE_STPCPY 36#ifndef HAVE_STPCPY
37char *stpcpy(char * s1, const char * s2); 37char *stpcpy(char *s1, const char *s2);
38#endif 38#endif
39char *string_concat(const char *str, ...); 39char *string_concat(const char *str, ...);
40char *generate_uuid(); 40char *generate_uuid();