summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-22 20:43:53 +0200
committerGravatar Martin Szulecki2014-10-22 22:21:06 +0200
commit744ffa6da4839f4118b585f942985b3330ad3a32 (patch)
tree3f4ed80236e7b8af9ccea770c4555ccdacc237fd /common
parent8bbf17c58e43a7345c7ae7d4af714cc1ce896820 (diff)
downloadlibimobiledevice-744ffa6da4839f4118b585f942985b3330ad3a32.tar.gz
libimobiledevice-744ffa6da4839f4118b585f942985b3330ad3a32.tar.bz2
common: Change stpcpy() signature code style slightly
Diffstat (limited to 'common')
-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();