diff options
-rw-r--r-- | psgeom.c | 2 | ||||
-rw-r--r-- | utils.c | 10 | ||||
-rw-r--r-- | utils.h | 1 |
3 files changed, 1 insertions, 12 deletions
@@ -396,7 +396,7 @@ static void ClearFontStuff(FontStuff *stuff) { if (stuff && stuff->foundry) - uFree(stuff->foundry); + free(stuff->foundry); bzero(stuff, sizeof(FontStuff)); return; } @@ -50,16 +50,6 @@ uCalloc(unsigned n, unsigned size) return ((Opaque) calloc(n, size)); } -/***====================================================================***/ - -void -uFree(Opaque ptr) -{ - if (ptr != (Opaque) NULL) - free((char *) ptr); - return; -} - /***====================================================================***/ @@ -79,7 +79,6 @@ typedef int Comparison; extern Opaque uAlloc(unsigned /* size */); extern Opaque uCalloc(unsigned /* n */ , unsigned /* size */); -extern void uFree(Opaque /* ptr */); #define uTypedAlloc(t) ((t *)uAlloc((unsigned)sizeof(t))) #define uTypedCalloc(n,t) ((t *)uCalloc((unsigned)n,(unsigned)sizeof(t))) |