Pragma added around xlib.h to shut up the IRIX compiler warnings

Fluid writes "class foo;" to the header and c file without prepending
"extern" or "static".  This patch also does this to "class foo bar;"
which is wrong...

Tabs draw very short labels.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Bill Spitzak
1999-07-22 07:27:12 +00:00
parent ae621ef778
commit 0bb590c832
6 changed files with 48 additions and 24 deletions
+8 -2
View File
@@ -1,5 +1,5 @@
//
// "$Id: x.H,v 1.10 1999/02/16 21:59:49 mike Exp $"
// "$Id: x.H,v 1.10.2.1 1999/07/22 07:27:07 bill Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -39,9 +39,15 @@
#else
#ifdef __sgi
#pragma set woff 3322
#endif
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#ifdef __sgi
#pragma reset woff 3322
#endif
#include "Fl_Window.H"
FL_EXPORT void fl_open_display();
@@ -118,5 +124,5 @@ extern FL_EXPORT int fl_background_pixel; // hack into Fl_X::make_xid()
#endif
//
// End of "$Id: x.H,v 1.10 1999/02/16 21:59:49 mike Exp $".
// End of "$Id: x.H,v 1.10.2.1 1999/07/22 07:27:07 bill Exp $".
//