diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-08-20 04:35:17 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-08-20 04:35:17 +0000 |
| commit | 949479b5b21827ba33c681d213b9909a0bfaaedc (patch) | |
| tree | 297756bdb5bf3ef82a83daa9caa74b9993163e1d /src/Fl_x.cxx | |
| parent | 23689de7fbe7ba72107424d439d69cf1e2ec34f1 (diff) | |
Removed some (not all) of the warnings when compiled with -Wwrite-strings,
this should also get similar warnings Solaris produces.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 3828cde8f..bf71118af 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_x.cxx,v 1.24.2.18 2000/06/18 00:38:41 bill Exp $" +// "$Id: Fl_x.cxx,v 1.24.2.19 2000/08/20 04:35:16 spitzak Exp $" // // X specific code for the Fast Light Tool Kit (FLTK). // @@ -242,9 +242,11 @@ static Atom wm_delete_window; static Atom wm_protocols; static Atom _motif_wm_hints; +extern "C" { static void fd_callback(int,void *) {do_queued_events();} static int io_error_handler(Display*) {Fl::fatal("X I/O error"); return 0;} +} static int xerror_handler(Display* d, XErrorEvent* e) { char buf1[128], buf2[128]; @@ -896,5 +898,5 @@ void Fl_Window::make_current() { #endif // -// End of "$Id: Fl_x.cxx,v 1.24.2.18 2000/06/18 00:38:41 bill Exp $". +// End of "$Id: Fl_x.cxx,v 1.24.2.19 2000/08/20 04:35:16 spitzak Exp $". // |
