diff options
| author | 2014-10-22 20:43:53 +0200 | |
|---|---|---|
| committer | 2014-10-22 22:21:06 +0200 | |
| commit | 744ffa6da4839f4118b585f942985b3330ad3a32 (patch) | |
| tree | 3f4ed80236e7b8af9ccea770c4555ccdacc237fd | |
| parent | 8bbf17c58e43a7345c7ae7d4af714cc1ce896820 (diff) | |
| download | libimobiledevice-744ffa6da4839f4118b585f942985b3330ad3a32.tar.gz libimobiledevice-744ffa6da4839f4118b585f942985b3330ad3a32.tar.bz2 | |
common: Change stpcpy() signature code style slightly
| -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(); |
