Index: generic/nsfInt.h =================================================================== diff -u -rd96dedf3da9a133c17c602f665ecff9dbb377ced -rbdb2dc08519bce23bba805840b1b90c0ab6acffe --- generic/nsfInt.h (.../nsfInt.h) (revision d96dedf3da9a133c17c602f665ecff9dbb377ced) +++ generic/nsfInt.h (.../nsfInt.h) (revision bdb2dc08519bce23bba805840b1b90c0ab6acffe) @@ -223,7 +223,7 @@ # define MEM_COUNT_RELEASE() #endif -# define STRING_NEW(target, p, l) {char *tempValue = ckalloc((unsigned)(l)+1u); strncpy((tempValue), (p), (l)+1u); *((tempValue)+(l)) = '\0'; target = tempValue; MEM_COUNT_ALLOC(#target, (target))} +# define STRING_NEW(target, p, l) {char *tempValue = ckalloc((unsigned)(l)+1u); strncpy((tempValue), (p), (l)+1u); *((tempValue)+(l)) = '\0'; target = tempValue; MEM_COUNT_ALLOC(#target, (target));} # define STRING_FREE(key, p) MEM_COUNT_FREE((key), (p)); ckfree((char*)(p)) #define DSTRING_INIT(dsPtr) Tcl_DStringInit(dsPtr); MEM_COUNT_ALLOC("DString",(dsPtr)) @@ -1132,8 +1132,8 @@ * MEM Counting */ #ifdef NSF_MEM_COUNT -void NsfMemCountAlloc(const char *id, void *); -void NsfMemCountFree(const char *id, void *); +void NsfMemCountAlloc(const char *id, void *p) nonnull(1); +void NsfMemCountFree(const char *id, void *p) nonnull(1); void NsfMemCountInit(void); void NsfMemCountRelease(void); #endif /* NSF_MEM_COUNT */