spacing, declaration lineup to be consistent throughout cwm,

readability, and a bit of knf.

ok oga@
This commit is contained in:
okan
2008-07-11 14:21:28 +00:00
parent 734f45ab4b
commit b23fad3987
17 changed files with 293 additions and 264 deletions

View File

@@ -24,7 +24,7 @@
void *
xmalloc(size_t siz)
{
void *p;
void *p;
if ((p = malloc(siz)) == NULL)
err(1, "malloc");
@@ -35,7 +35,7 @@ xmalloc(size_t siz)
void *
xcalloc(size_t no, size_t siz)
{
void *p;
void *p;
if ((p = calloc(no, siz)) == NULL)
err(1, "calloc");
@@ -52,7 +52,7 @@ xfree(void *p)
char *
xstrdup(const char *str)
{
char *p;
char *p;
if ((p = strdup(str)) == NULL)
err(1, "strdup");