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 @@
* @return a pointer to the terminating `\0' character of @s1,
* or NULL if @s1 or @s2 is NULL.
*/
-char *stpcpy(char * s1, const char * s2)
+char *stpcpy(char *s1, const char *s2)
{
if (s1 == NULL || s2 == NULL)
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 @@
#include <plist/plist.h>
#ifndef HAVE_STPCPY
-char *stpcpy(char * s1, const char * s2);
+char *stpcpy(char *s1, const char *s2);
#endif
char *string_concat(const char *str, ...);
char *generate_uuid();