Show
Ignore:
Timestamp:
06/23/08 21:37:52 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1214257072 +0000
git-parent:

[06376eb8604c1cfcc21fc062fb2ab482db5bd1ca]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1214257072 +0000
Message:

strndup is already defined on Mark's ricer box

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    r6a3e510 rcdec30d  
    119119 
    120120static char * 
    121 __strndup(const char *src, int len) { 
     121__noit__strndup(const char *src, int len) { 
    122122  char *dst; 
    123123  dst = malloc(len + 1); 
     
    126126} 
    127127#define DECLARE_PARAM_STR(str, len) do { \ 
    128   d->paramValues[d->nparams] = __strndup(str, len); \ 
     128  d->paramValues[d->nparams] = __noit__strndup(str, len); \ 
    129129  d->paramLengths[d->nparams] = len; \ 
    130130  d->paramFormats[d->nparams] = 0; \