summary refs log tree commit diff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-07 19:27:30 +0000
committerokan <okan>2014-09-07 19:27:30 +0000
commit3d12b6d1d940d40c1298ae03e519c8ac4a9a1407 (patch)
treeb7a2201e7e811cbb6c1fedac37fb78b2edd4b9f9 /xmalloc.c
parentbe091b35236438d578782c7d5711a512451f302b (diff)
downloadcwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.tar.gz
cwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.tar.xz
cwm-3d12b6d1d940d40c1298ae03e519c8ac4a9a1407.zip
more style nits
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 0f1d6f3..6963c96 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -42,7 +42,7 @@ xmalloc(size_t siz)
 	if ((p = malloc(siz)) == NULL)
 		err(1, "malloc");
 
-	return (p);
+	return(p);
 }
 
 void *
@@ -57,7 +57,7 @@ xcalloc(size_t no, size_t siz)
 	if ((p = calloc(no, siz)) == NULL)
 		err(1, "calloc");
 
-	return (p);
+	return(p);
 }
 
 char *
@@ -68,7 +68,7 @@ xstrdup(const char *str)
 	if ((p = strdup(str)) == NULL)
 		err(1, "strdup");
 
-	return (p);
+	return(p);
 }
 
 int
@@ -84,5 +84,5 @@ xasprintf(char **ret, const char *fmt, ...)
 	if (i < 0 || *ret == NULL)
 		err(1, "asprintf");
 
-	return (i);
+	return(i);
 }