diff options
author | Brad King <brad.king@kitware.com> | 2009-10-27 16:11:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-27 16:11:24 (GMT) |
commit | 1bce13e2b3b19d3286fcaed31ceaa98ba24747c7 (patch) | |
tree | d355558748324c437fe177d77839a080368fd313 /Utilities/cmtar/compat/fnmatch.c | |
parent | 6720d31ed0aed77c5d17554c4ae616296b93f5b3 (diff) | |
download | CMake-1bce13e2b3b19d3286fcaed31ceaa98ba24747c7.zip CMake-1bce13e2b3b19d3286fcaed31ceaa98ba24747c7.tar.gz CMake-1bce13e2b3b19d3286fcaed31ceaa98ba24747c7.tar.bz2 |
Fix Intel compiler warnings on Windows in cmtar
This commit disables or fixes some warnings in the 'cmtar' utility
produced by the Intel compiler on Windows.
Diffstat (limited to 'Utilities/cmtar/compat/fnmatch.c')
-rw-r--r-- | Utilities/cmtar/compat/fnmatch.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Utilities/cmtar/compat/fnmatch.c b/Utilities/cmtar/compat/fnmatch.c index 936f21e..bb575b3 100644 --- a/Utilities/cmtar/compat/fnmatch.c +++ b/Utilities/cmtar/compat/fnmatch.c @@ -174,12 +174,7 @@ fnmatch(pattern, string, flags) /* NOTREACHED */ } -static int -rangematch(pattern, test, flags, newp) - const char *pattern; - char test; - int flags; - char **newp; +static int rangematch(const char *pattern, char test, int flags, char **newp) { int negate, ok; char c, c2; |