Changeset 215

Show
Ignore:
Timestamp:
07/16/06 19:18:57 (6 years ago)
Author:
tg
Message:

need strlcpy(3) and strlcat(3)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/scripts/param.h

    r212 r215  
    1414#define __RCSID(x)      static const char __rcsid[] __attribute__((used)) = (x) 
    1515#endif 
     16 
     17#if !defined(BSD) && defined(_STRLCPY_DEFNS) 
     18size_t strlcat(char *, const char *, size_t); 
     19size_t strlcpy(char *, const char *, size_t); 
     20#endif 
  • trunk/freewrt/tools/paxmirabilis/Makefile

    r214 r215  
    44 
    55OUR_FLAGS=      -I${TOPDIR}/scripts \ 
     6                -D_STRLCPY_DEFNS \ 
    67                -std=gnu99 \ 
    78                -include ${TOPDIR}/scripts/param.h 
    89 
    9 SRCS=           src/ar_io.c \ 
     10SRCS=           strlfun.c \ 
     11                src/ar_io.c \ 
    1012                src/ar_subs.c \ 
    1113                src/buf_subs.c \