33 Commits (6033703a64eec53cdd7521bfacff8526422cdfc6)

Author SHA1 Message Date
Peter Johnson 1b6ca83117 Splint cleanups on memory allocation routines. 23 years ago
Peter Johnson b9541920f1 Create global macro NELEMS to replace countof macro defined just in main.c. 23 years ago
Peter Johnson bccc5e7ec7 When using Splint, don't try to use gettext(). 23 years ago
Peter Johnson ba2c819e71 Move BitCount() macro from hamt.c to util.h. 23 years ago
Peter Johnson 855891dac2 Fix build problem on Linux with toascii() define. 24 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 24 years ago
Peter Johnson a64ee74f8f Fix typo in HAVE_STRCMPI strncasecmp() #define. 24 years ago
Peter Johnson 3b496cdde7 Do intl more correctly. nointl/libintl.h is unnecessary; it can be detected 24 years ago
Peter Johnson 5cd0858637 Add valparam data structure. 24 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 24 years ago
Peter Johnson 4df0191de8 lclint-ize gettext(). 24 years ago
Peter Johnson 21eb7c7fe2 Add some lclint annotations. 24 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 24 years ago
Peter Johnson 665eddf5d7 Conditional x* prototypes on !DMALLOC (as they're defined by dmalloc.h if 24 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 24 years ago
Peter Johnson 0a98a74163 Add mergesort() replacement from BSD sources. 24 years ago
Peter Johnson cdcf358af1 RCSID() breaks under DJGPP because of "__unused". Removing __unused shouldn't 24 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 24 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 24 years ago
Peter Johnson df62b73779 Add check and BSD replacement for strsep(3). 24 years ago
Peter Johnson f173e9e042 Include stddef.h for size_t. 24 years ago
Peter Johnson 91f41e241b Try to fix configure and automake files so everything builds a bit cleaner. 24 years ago
Peter Johnson 1284d8d8af Pull in GCC and ELF alternatives for RCSID() if available. 24 years ago
Michael Urman caba67b7d6 Fixed two ansi C errors (empty file and extra semicolon) 24 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 24 years ago
Peter Johnson 303bc90f72 Add prototypes for strcasecmp and strncasecmp if we use our own implementation. 24 years ago
Peter Johnson c09f4addc8 Check for case-insensitive string comparisons. Use strcasecmp and strncasecmp 24 years ago
Peter Johnson bcd6236091 Add RCSID() function. 24 years ago
Peter Johnson 28940100d4 Add <sys/queue.h> to util.h and pull in compatible, portable version from 24 years ago
Peter Johnson bfd5122925 Add toascii() implementation. 24 years ago
Peter Johnson 616bd61994 Use ANSI C compliant #ifndef wrappers (_A_H_ -> YASM_A_H). 24 years ago
Peter Johnson 6b93227482 Use autoconf to determine when to include our implementation of strdup, so 24 years ago
Peter Johnson 2141d4f43d Initial check-in of utility functions. 24 years ago
Peter Johnson d3a51f5835 Initial check-in. 24 years ago