Changeset e33fe4a in rtems-libbsd for freebsd/lib/libc/net/nsparser.y


Ignore:
Timestamp:
Nov 15, 2013, 2:14:20 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
162d615
Parents:
a531ba4
git-author:
Sebastian Huber <sebastian.huber@…> (11/15/13 14:14:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/04/13 12:44:03)
Message:

NSDISPATCH(3): Fix for small-data area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/lib/libc/net/nsparser.y

    ra531ba4 re33fe4a  
    158158        int             i, lineno;
    159159        extern int      _nsyylineno;
    160         extern char *   _nsyytext;
     160        extern char     _nsyytext[];
    161161
    162         lineno = _nsyylineno - (*_nsyytext == '\n' ? 1 : 0);
     162        lineno = _nsyylineno - (_nsyytext[0] == '\n' ? 1 : 0);
    163163        if (curdbt.srclistsize > 0) {
    164164                if (((strcasecmp(elem, NSSRC_COMPAT) == 0) &&
Note: See TracChangeset for help on using the changeset viewer.