summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Device.cxx4
-rw-r--r--src/Fl_Graphics_Driver.cxx2
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx2
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx2
-rw-r--r--src/fl_cursor.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx
index a6f9173a7..bfd9db063 100644
--- a/src/Fl_Device.cxx
+++ b/src/Fl_Device.cxx
@@ -101,14 +101,14 @@ Fl_Surface_Device::~Fl_Surface_Device()
/** A constructor that sets the graphics driver used by the display */
Fl_Display_Device::Fl_Display_Device(Fl_Graphics_Driver *graphics_driver) : Fl_Surface_Device(graphics_driver) {
this->set_current();
-};
+}
/** Returns a pointer to the unique display device */
Fl_Display_Device *Fl_Display_Device::display_device() {
static Fl_Display_Device *display = new Fl_Display_Device(Fl_Graphics_Driver::newMainGraphicsDriver());
return display;
-};
+}
Fl_Surface_Device *Fl_Surface_Device::default_surface()
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx
index 35697c256..121501d1f 100644
--- a/src/Fl_Graphics_Driver.cxx
+++ b/src/Fl_Graphics_Driver.cxx
@@ -56,7 +56,7 @@ Fl_Graphics_Driver::Fl_Graphics_Driver()
xpoint = NULL;
what = NONE;
n = 0;
-};
+}
/** Destructor */
Fl_Graphics_Driver::~Fl_Graphics_Driver() {
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
index 007408a15..40ba0c89d 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
@@ -20,7 +20,7 @@
Fl_OpenGL_Display_Device *Fl_OpenGL_Display_Device::display_device() {
static Fl_OpenGL_Display_Device *display = new Fl_OpenGL_Display_Device(new Fl_OpenGL_Graphics_Driver());
return display;
-};
+}
Fl_OpenGL_Display_Device::Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver)
: Fl_Surface_Device(graphics_driver)
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 6938e2996..b327f7bc2 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -128,7 +128,7 @@ Fl_Wayland_Screen_Driver::compositor_name Fl_Wayland_Screen_Driver::compositor =
extern "C" {
bool fl_libdecor_using_weston(void) {
return Fl_Wayland_Screen_Driver::compositor == Fl_Wayland_Screen_Driver::WESTON;
- };
+ }
}
static void xdg_wm_base_ping(void *data, struct xdg_wm_base *xdg_wm_base, uint32_t serial)
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index 681a98255..76283182d 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -195,7 +195,7 @@ void Fl_Window::cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
*/
void Fl_Window::cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
cursor(c);
-};
+}
/**
For back compatibility only.
@@ -203,4 +203,4 @@ void Fl_Window::cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
*/
void Fl_Window::default_cursor(Fl_Cursor c, Fl_Color, Fl_Color) {
default_cursor(c);
-};
+}