summaryrefslogtreecommitdiff
path: root/obt
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-02-15 16:47:10 +0100
committerMikael Magnusson <mikachu@comhem.se>2008-02-15 16:47:10 +0100
commit9e05faf3d6ac1c527032efb7210de8bbfeb2212c (patch)
tree4ab52e2891af75fb0cf0ba125fd69b727c71c56a /obt
parent0ffd1ccc4701a9814e6ee570461b1250dd16f1e3 (diff)
() -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have.
Diffstat (limited to 'obt')
-rw-r--r--obt/display.h2
-rw-r--r--obt/internal.h4
-rw-r--r--obt/keyboard.h2
-rw-r--r--obt/mainloop.h2
-rw-r--r--obt/parse.h2
-rw-r--r--obt/paths.h2
-rw-r--r--obt/xevent.h2
7 files changed, 8 insertions, 8 deletions
diff --git a/obt/display.h b/obt/display.h
index 8c074b5b..ff20f9c9 100644
--- a/obt/display.h
+++ b/obt/display.h
@@ -57,7 +57,7 @@ extern gint obt_display_extension_sync_basep;
extern Display* obt_display;
gboolean obt_display_open(const char *display_name);
-void obt_display_close();
+void obt_display_close(void);
void obt_display_ignore_errors(gboolean ignore);
diff --git a/obt/internal.h b/obt/internal.h
index dae854c1..818107dd 100644
--- a/obt/internal.h
+++ b/obt/internal.h
@@ -20,8 +20,8 @@
#ifndef __obt_internal_h
#define __obt_internal_h
-void obt_prop_startup();
+void obt_prop_startup(void);
-void obt_keyboard_shutdown();
+void obt_keyboard_shutdown(void);
#endif /* __obt_internal_h */
diff --git a/obt/keyboard.h b/obt/keyboard.h
index a9029df3..dd28cb86 100644
--- a/obt/keyboard.h
+++ b/obt/keyboard.h
@@ -40,7 +40,7 @@ typedef enum {
OBT_KEYBOARD_NUM_MODKEYS
} ObtModkeysKey;
-void obt_keyboard_reload();
+void obt_keyboard_reload(void);
/*! Get the modifier mask(s) for a KeyCode. (eg. a keycode bound to Alt_L could
return a mask of (Mod1Mask | Mask3Mask)) */
diff --git a/obt/mainloop.h b/obt/mainloop.h
index cce7d5b5..f455d629 100644
--- a/obt/mainloop.h
+++ b/obt/mainloop.h
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
typedef struct _ObtMainLoop ObtMainLoop;
-ObtMainLoop *obt_main_loop_new();
+ObtMainLoop *obt_main_loop_new(void);
void obt_main_loop_ref(ObtMainLoop *loop);
void obt_main_loop_unref(ObtMainLoop *loop);
diff --git a/obt/parse.h b/obt/parse.h
index 8e5acd72..acc3f5c6 100644
--- a/obt/parse.h
+++ b/obt/parse.h
@@ -28,7 +28,7 @@ typedef struct _ObtParseInst ObtParseInst;
typedef void (*ObtParseCallback)(xmlNodePtr node, gpointer data);
-ObtParseInst* obt_parse_instance_new();
+ObtParseInst* obt_parse_instance_new(void);
void obt_parse_instance_ref(ObtParseInst *inst);
void obt_parse_instance_unref(ObtParseInst *inst);
diff --git a/obt/paths.h b/obt/paths.h
index a6e32ae1..8753d4f6 100644
--- a/obt/paths.h
+++ b/obt/paths.h
@@ -25,7 +25,7 @@ G_BEGIN_DECLS
typedef struct _ObtPaths ObtPaths;
-ObtPaths* obt_paths_new();
+ObtPaths* obt_paths_new(void);
void obt_paths_ref(ObtPaths *p);
void obt_paths_unref(ObtPaths *p);
diff --git a/obt/xevent.h b/obt/xevent.h
index a93a1a61..ec0b66e5 100644
--- a/obt/xevent.h
+++ b/obt/xevent.h
@@ -30,7 +30,7 @@ typedef struct _ObtXEventHandler ObtXEventHandler;
typedef void (*ObtXEventCallback) (const XEvent *e, gpointer data);
-ObtXEventHandler* xevent_new();
+ObtXEventHandler* xevent_new(void);
void xevent_ref(ObtXEventHandler *h);
void xevent_unref(ObtXEventHandler *h);