- memory.c: style corrections
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 5 May 2015 18:44:54 +0000 (18:44 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 5 May 2015 18:44:54 +0000 (18:44 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5915 82007160-df01-0410-b94d-b575c5fd34c7

src/memory.c

index d095e86374081d84358d6d59a37a4fe2c0ece485..50bb69515ac02d5d6ea4cef669236c00de9e767d 100644 (file)
@@ -36,8 +36,8 @@
  * Return:
  *    Pointer to allocated memory
  */
-
-void *xcalloc(size_t bytes)
+void *
+xcalloc(size_t bytes)
 {
    void *ret = calloc(1, bytes);
    assert(ret);
@@ -45,8 +45,6 @@ void *xcalloc(size_t bytes)
    return ret;
 }
 
-
-
 /*  xfree
  *
  *  Free memory allocated with xcalloc
@@ -57,8 +55,8 @@ void *xcalloc(size_t bytes)
  *  Return:
  *     None
  */
-
-void xfree(void *ptr)
+void
+xfree(void *ptr)
 {
   free(ptr);
 }