diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/utils.c | 2 | ||||
| -rw-r--r-- | common/utils.h | 2 |
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 | */ |
| 47 | char *stpcpy(char * s1, const char * s2) | 47 | char *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 |
| 37 | char *stpcpy(char * s1, const char * s2); | 37 | char *stpcpy(char *s1, const char *s2); |
| 38 | #endif | 38 | #endif |
| 39 | char *string_concat(const char *str, ...); | 39 | char *string_concat(const char *str, ...); |
| 40 | char *generate_uuid(); | 40 | char *generate_uuid(); |
