source: trunk/dports/textproc/boxes/files/regerror.patch @ 139014

Last change on this file since 139014 was 94151, checked in by jmr@…, 8 years ago

boxes: silence compile warnings

File size: 710 bytes
  • src/regexp/regsub.c

    old new  
    5959char rcsid_regsub_c[] =
    6060    "$Id: regsub.c,v 1.7 2006/07/23 16:15:55 tsjensen Exp $";
    6161
    62 
     62void   regerror    (char *msg);
    6363
    6464#ifndef CHARBITS
    6565#define UCHARAT(p)      ((int)*(unsigned char *)(p))
  • src/regexp/regexp.c

    old new  
    134134#define UCHARAT(p)      ((int)*(p)&CHARBITS)
    135135#endif
    136136
     137void   regerror    (char *msg);
     138
    137139#define FAIL(m) { regerror(m); return(NULL); }
    138140#define ISMULT(c)       ((c) == '*' || (c) == '+' || (c) == '?')
    139141#define META    "^$.[()|?+*\\"
Note: See TracBrowser for help on using the repository browser.