diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-04 14:11:15 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-04 14:11:15 +0000 |
| commit | b601fdc3bc4b5b9a9d1a356dd458cfdd3213fa16 (patch) | |
| tree | d971bed71654f76c22d7ff7b78a1179320d677b2 /src/Fl.cxx | |
| parent | 18b1a2fdcad21254160203992518df20cfe34968 (diff) | |
Remove duplicate definitions and argument-hides-function warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 4b6cba3cd..05970a8e9 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.73 2004/12/06 03:31:54 easysw Exp $" +// "$Id$" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -308,8 +308,6 @@ int Fl::check() { return Fl_X::first != 0; // return true if there is a window } -extern int fl_ready(); - int Fl::ready() { if (first_timeout) { elapse_timeouts(); @@ -1077,8 +1075,8 @@ static int num_dwidgets = 0, alloc_dwidgets = 0; static Fl_Widget **dwidgets = 0; void -Fl::delete_widget(Fl_Widget *w) { - if (!w) return; +Fl::delete_widget(Fl_Widget *wi) { + if (!wi) return; if (num_dwidgets >= alloc_dwidgets) { Fl_Widget **temp; @@ -1093,7 +1091,7 @@ Fl::delete_widget(Fl_Widget *w) { alloc_dwidgets += 10; } - dwidgets[num_dwidgets] = w; + dwidgets[num_dwidgets] = wi; num_dwidgets ++; } @@ -1110,5 +1108,5 @@ Fl::do_widget_deletion() { // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.73 2004/12/06 03:31:54 easysw Exp $". +// End of "$Id$". // |
