[BACK]Return to pattern.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Annotation of src/usr.bin/less/pattern.h, Revision 1.2

1.1       shadchin    1: /*
1.2     ! nicm        2:  * Copyright (C) 1984-2012  Mark Nudelman
1.1       shadchin    3:  *
                      4:  * You may distribute under the terms of either the GNU General Public
                      5:  * License or the Less License, as specified in the README file.
                      6:  *
1.2     ! nicm        7:  * For more information, see the README file.
        !             8:  */
        !             9: /*
        !            10:  * Modified for use with illumos.
        !            11:  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
1.1       shadchin   12:  */
                     13:
                     14: #include <regex.h>
                     15: #define        REGCOMP_FLAG    REG_EXTENDED
1.2     ! nicm       16: #define        DEFINE_PATTERN(name)    regex_t *name
        !            17: #define        CLEAR_PATTERN(name)     name = NULL