diff options
| author | Carl E. Thompson <devel-fltk@carlthompson.net> | 2000-03-08 16:02:25 +0000 |
|---|---|---|
| committer | Carl E. Thompson <devel-fltk@carlthompson.net> | 2000-03-08 16:02:25 +0000 |
| commit | af5190b95f6b4eb16c028aeb9620f5ebcfe4a0ec (patch) | |
| tree | 77c50b9a2ef9333946caf21f5dfc5ed5fe37701e /src/Fl.cxx | |
| parent | d4d22e857ce54b2913dc0fea5017260dd7f45397 (diff) | |
Fix to compile on GCC 2.95.
Carl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 3d22c29e7..3c56ad1e3 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,6 +1,6 @@ #include <stdio.h> // -// "$Id: Fl.cxx,v 1.24.2.16 2000/02/18 07:11:08 bill Exp $" +// "$Id: Fl.cxx,v 1.24.2.17 2000/03/08 16:02:25 carl Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -79,7 +79,7 @@ static struct Timeout { static int numtimeouts; static int timeout_array_size; -void Fl::add_timeout(double t, void (*cb)(void *), void *v) { +void Fl::add_timeout(double t, Fl_Timeout_Handler cb, void *v) { fl_elapsed(); @@ -103,7 +103,7 @@ void Fl::add_timeout(double t, void (*cb)(void *), void *v) { numtimeouts++; } -void Fl::remove_timeout(void (*cb)(void *), void *v) { +void Fl::remove_timeout(Fl_Timeout_Handler cb, void *v) { int i,j; for (i=j=0; i<numtimeouts; i++) { if (timeout[i].cb == cb && timeout[i].arg==v) ; @@ -706,5 +706,5 @@ int fl_old_shortcut(const char* s) { } // -// End of "$Id: Fl.cxx,v 1.24.2.16 2000/02/18 07:11:08 bill Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.17 2000/03/08 16:02:25 carl Exp $". // |
