Ignore:
Timestamp:
2019-05-28T19:24:14Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77de449e
Parents:
af5037d (diff), bebd154 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-28 19:24:14)
git-committer:
GitHub <noreply@…> (2019-05-28 19:24:14)
Message:

Merge pull request #161 from le-jzr/cxxcompat2

C++ compatibility improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/fnmatch.h

    raf5037d r52acfab  
    3636#define POSIX_FNMATCH_H_
    3737
     38#include <_bits/decls.h>
     39
    3840/* Error Values */
    39 #undef FNM_NOMATCH
    4041#define FNM_NOMATCH 1
    4142
    4243/* Flags */
    43 #undef FNM_PATHNAME
    44 #undef FNM_PERIOD
    45 #undef FNM_NOESCAPE
    4644#define FNM_PATHNAME 1
    4745#define FNM_PERIOD 2
     
    4947
    5048/* GNU Extensions */
    51 #undef FNM_FILE_NAME
    52 #undef FNM_LEADING_DIR
    53 #undef FNM_CASEFOLD
    5449#define FNM_FILE_NAME FNM_PATHNAME
    5550#define FNM_LEADING_DIR 8
    5651#define FNM_CASEFOLD 16
    5752
     53__C_DECLS_BEGIN;
     54
    5855extern int fnmatch(const char *pattern, const char *string, int flags);
     56
     57__C_DECLS_END;
    5958
    6059#endif /* POSIX_FNMATCH_H_ */
Note: See TracChangeset for help on using the changeset viewer.