summaryrefslogtreecommitdiff
path: root/FL/glut.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-04-13 20:14:36 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-04-13 20:14:36 +0200
commit7b2c770ef7385276bf4884ffe308a6c79a8046ef (patch)
tree8807828cb2a1f6fdeee5ac86032918b5055c146f /FL/glut.H
parent9d380f24bd4b13731c702047a2f212a287c993db (diff)
Fix trailing comma in enums of public headers
Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers.
Diffstat (limited to 'FL/glut.H')
-rw-r--r--FL/glut.H10
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/glut.H b/FL/glut.H
index f83231c3a..2d4a196c2 100644
--- a/FL/glut.H
+++ b/FL/glut.H
@@ -1,7 +1,7 @@
//
// GLUT emulation header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2015 by Bill Spitzak and others.
+// Copyright 1998-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -26,8 +26,8 @@
// Commented out lines indicate parts of GLUT that are not emulated.
-#ifndef Fl_glut_H
-# define Fl_glut_H
+#ifndef _FL_glut_H_
+# define _FL_glut_H_
# include "gl.h"
@@ -320,7 +320,7 @@ enum {
//GLUT_WINDOW_CURSOR,
//GLUT_SCREEN_WIDTH_MM,
//GLUT_SCREEN_HEIGHT_MM,
- GLUT_ELAPSED_TIME,
+ GLUT_ELAPSED_TIME
};
# define GLUT_WINDOW_STENCIL_SIZE GL_STENCIL_BITS
@@ -472,4 +472,4 @@ FL_EXPORT void glutSolidTetrahedron();
FL_EXPORT void glutWireIcosahedron();
FL_EXPORT void glutSolidIcosahedron();
-#endif // !Fl_glut_H
+#endif // !_FL_glut_H_