diff options
author | pgen <p.gen.progs@gmail.com> | 2018-10-08 19:31:57 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2018-10-08 19:31:57 +0200 |
commit | 7ec39d7df253dd6f7dc92854e5582949dfa823a5 (patch) | |
tree | 1f83249dc7b6282d0411bbb958bd0d56908a5e0a /xmalloc.c | |
parent | 952504585c8e67a59114cbc68153ce46140aff5d (diff) |
Add/improve comments, reformat and clarify code
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,15 +4,13 @@ /* Created by Kevin Locke (from numerous canonical examples) */ /* */ +/* Adapted for use by smenu */ +/* */ /* I hereby place this file in the public domain. It may be freely */ /* reproduced, distributed, used, modified, built upon, or otherwise */ /* employed by anyone for any purpose without restriction. */ /* """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" */ -/* ================= */ -/* Customized malloc */ -/* ================= */ - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -20,6 +18,9 @@ #include "xmalloc.h" +/* ================= */ +/* Customized malloc */ +/* ================= */ void * xmalloc(size_t size) { |