aboutsummaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
authorokan2014-09-07 19:27:30 +0000
committerokan2014-09-07 19:27:30 +0000
commiteab7846097604d0bfc81f122685219fe7a738415 (patch)
tree6630de258aa2ebc267a9f79e9eeb32ca8d7e7ca5 /xmalloc.c
parent6ad47ab7a1880d92f7b8b36722a424dd841025eb (diff)
downloadcwm-eab7846097604d0bfc81f122685219fe7a738415.tar.gz
more style nits
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 4bf40a7..2aa666b 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xmalloc.c,v 1.12 2013/12/17 16:12:18 okan Exp $
+ * $OpenBSD: xmalloc.c,v 1.13 2014/09/07 19:27:30 okan Exp $
*/
#include <sys/param.h>
@@ -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);
}