diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-03-25 21:08:42 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-03-25 21:08:42 +0000 |
| commit | 6c796f88c7459fa4262f936dc9c7c02fa01e95e7 (patch) | |
| tree | 9f1d5d4e8e4f4f709f11f3c95701c14e41a3483c /src/filename_match.cxx | |
| parent | d7f353ddd120228a1a4444ff0dec2146de7cd980 (diff) | |
Rename all remaining functions that don't start with fl_ to
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes
fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX,
etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_match.cxx')
| -rw-r--r-- | src/filename_match.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filename_match.cxx b/src/filename_match.cxx index 25cbd7f47..10153e63c 100644 --- a/src/filename_match.cxx +++ b/src/filename_match.cxx @@ -1,5 +1,5 @@ // -// "$Id: filename_match.cxx,v 1.5.2.4.2.2 2002/01/01 15:11:31 easysw Exp $" +// "$Id: filename_match.cxx,v 1.5.2.4.2.3 2002/03/25 21:08:42 easysw Exp $" // // Pattern matching routines for the Fast Light Tool Kit (FLTK). // @@ -27,7 +27,7 @@ #include <FL/filename.H> #include <ctype.h> -int filename_match(const char *s, const char *p) { +int fl_filename_match(const char *s, const char *p) { int matched; for (;;) { @@ -39,7 +39,7 @@ int filename_match(const char *s, const char *p) { case '*' : // match 0-n of any characters if (!*p) return 1; // do trailing * quickly - while (!filename_match(s, p)) if (!*s++) return 0; + while (!fl_filename_match(s, p)) if (!*s++) return 0; return 1; case '[': { // match one character in set of form [abc-d] or [^a-b] @@ -63,7 +63,7 @@ int filename_match(const char *s, const char *p) { case '{' : // {pattern1|pattern2|pattern3} NEXTCASE: - if (filename_match(s,p)) return 1; + if (fl_filename_match(s,p)) return 1; for (matched = 0;;) { switch (*p++) { case '\\': if (*p) p++; break; @@ -104,5 +104,5 @@ int filename_match(const char *s, const char *p) { } // -// End of "$Id: filename_match.cxx,v 1.5.2.4.2.2 2002/01/01 15:11:31 easysw Exp $". +// End of "$Id: filename_match.cxx,v 1.5.2.4.2.3 2002/03/25 21:08:42 easysw Exp $". // |
