Skip to content

Commit

Permalink
Make 'driver' header include guards more standard.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed Aug 14, 2017
1 parent 5a9c159 commit 4198caa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
8 changes: 3 additions & 5 deletions src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.H
Expand Up @@ -22,12 +22,11 @@
\brief Definition of OpenGL graphics driver.
*/

#ifndef FL_CFG_GFX_OPENGL_H
#define FL_CFG_GFX_OPENGL_H
#ifndef FL_OPENGL_GRAPHICS_DRIVER_H
#define FL_OPENGL_GRAPHICS_DRIVER_H

#include <FL/Fl_Graphics_Driver.H>


/**
\brief OpenGL specific graphics class.
*/
Expand Down Expand Up @@ -95,8 +94,7 @@ public:
void delete_bitmask(Fl_Bitmask bm) { };
};


#endif // FL_CFG_GFX_OPENGL_H
#endif // FL_OPENGL_GRAPHICS_DRIVER_H

//
// End of "$Id$".
Expand Down
7 changes: 3 additions & 4 deletions src/drivers/Xlib/Fl_Xlib_Graphics_Driver.H
Expand Up @@ -21,8 +21,8 @@
\brief Definition of X11 Xlib graphics driver.
*/

#ifndef FL_CFG_GFX_XLIB_H
#define FL_CFG_GFX_XLIB_H
#ifndef FL_XLIB_GRAPHICS_DRIVER_H
#define FL_XLIB_GRAPHICS_DRIVER_H

#include <config.h>
#include <FL/Fl_Graphics_Driver.H>
Expand Down Expand Up @@ -189,8 +189,7 @@ protected:
virtual Fl_Font set_fonts(const char* xstarname);
};


#endif // FL_CFG_GFX_XLIB_H
#endif // FL_XLIB_GRAPHICS_DRIVER_H

//
// End of "$Id$".
Expand Down

0 comments on commit 4198caa

Please sign in to comment.