summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
-rw-r--r--src/Fl_x.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 9c5e37131..92e0b1897 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -313,7 +313,7 @@ void Fl_WinAPI_System_Driver::add_fd(int n, int events, void (*cb)(FL_SOCKET, vo
}
void Fl_WinAPI_System_Driver::add_fd(int fd, void (*cb)(FL_SOCKET, void*), void* v) {
- Fl::add_fd(fd, FL_READ, cb, v);
+ add_fd(fd, FL_READ, cb, v);
}
void Fl_WinAPI_System_Driver::remove_fd(int n, int events) {
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 48062b32f..92b9be5fc 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -152,7 +152,7 @@ void Fl_X11_System_Driver::add_fd(int n, int events, void (*cb)(int, void*), voi
}
void Fl_X11_System_Driver::add_fd(int n, void (*cb)(int, void*), void* v) {
- Fl::add_fd(n, POLLIN, cb, v);
+ add_fd(n, POLLIN, cb, v);
}
void Fl_X11_System_Driver::remove_fd(int n, int events) {