Ignore:
Timestamp:
2007-01-17T11:50:47+13:00 (15 years ago)
Author:
kjdon
Message:

Changed a variable named errcode to rx_errcode, so this compiles with Visual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/packages/mg/lib/rx.c

    r3745 r13656  
    72087208#ifdef __STDC__
    72097209size_t
    7210 regerror (int errcode, __const__ regex_t *preg,
     7210regerror (int rx_errcode, __const__ regex_t *preg,
    72117211      char *errbuf, size_t errbuf_size)
    72127212#else
    72137213size_t
    7214 regerror (errcode, preg, errbuf, errbuf_size)
    7215     int errcode;
     7214regerror (rx_errcode, preg, errbuf, errbuf_size)
     7215    int rx_errcode;
    72167216    __const__ regex_t *preg;
    72177217    char *errbuf;
     
    72207220{
    72217221  __const__ char *msg
    7222     = rx_error_msg[errcode] == 0 ? "Success" : rx_error_msg[errcode];
     7222    = rx_error_msg[rx_errcode] == 0 ? "Success" : rx_error_msg[rx_errcode];
    72237223  size_t msg_size = strlen (msg) + 1; /* Includes the 0.  */
    72247224
Note: See TracChangeset for help on using the changeset viewer.