Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwpl.git;a=commitdiff;h=9120da5ee18ef480c6cd3b0fec54fc663f80fa21
commit 9120da5ee18ef480c6cd3b0fec54fc663f80fa21 Author: James Buren <r...@frugalware.org> Date: Mon Sep 21 13:13:31 2009 -0500 utility.h * add xstrdup prototype diff --git a/src/utility.h b/src/utility.h index 4cc8212..755b5a3 100644 --- a/src/utility.h +++ b/src/utility.h @@ -3,8 +3,12 @@ //[of]:includes #include <stddef.h> //[cf] +//[of]:macros +#define maxsize(T,N) (sizeof((T))*(N)) +//[cf] //[of]:prototypes extern void *xmalloc(size_t); +extern char *xstrdup(const char *); extern int eprintf(const char *,...); //[cf] #endif _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git