diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2008-02-15 16:15:00 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2008-02-15 16:21:35 +0100 |
| commit | 0ffd1ccc4701a9814e6ee570461b1250dd16f1e3 (patch) | |
| tree | 1dd0e273104de7d72186342616215409a152b20a /obt | |
| parent | db49122dece88956856606fe4c17158859f81837 (diff) | |
() -> (void)
Diffstat (limited to 'obt')
| -rw-r--r-- | obt/display.c | 2 | ||||
| -rw-r--r-- | obt/keyboard.c | 4 | ||||
| -rw-r--r-- | obt/mainloop.c | 2 | ||||
| -rw-r--r-- | obt/prop.c | 2 | ||||
| -rw-r--r-- | obt/xevent.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/obt/display.c b/obt/display.c index d72f8ad6..72c1b4d6 100644 --- a/obt/display.c +++ b/obt/display.c @@ -117,7 +117,7 @@ gboolean obt_display_open(const char *display_name) return obt_display != NULL; } -void obt_display_close() +void obt_display_close(void) { obt_keyboard_shutdown(); if (obt_display) XCloseDisplay(obt_display); diff --git a/obt/keyboard.c b/obt/keyboard.c index 710a94c2..699fa8ba 100644 --- a/obt/keyboard.c +++ b/obt/keyboard.c @@ -49,7 +49,7 @@ static gboolean hyper_l = FALSE; static gboolean started = FALSE; -void obt_keyboard_reload() +void obt_keyboard_reload(void) { gint i, j, k; @@ -97,7 +97,7 @@ void obt_keyboard_reload() modkeys_keys[OBT_KEYBOARD_MODKEY_CONTROL] = ControlMask; } -void obt_keyboard_shutdown() +void obt_keyboard_shutdown(void) { XFreeModifiermap(modmap); modmap = NULL; diff --git a/obt/mainloop.c b/obt/mainloop.c index 64972dd7..691c6875 100644 --- a/obt/mainloop.c +++ b/obt/mainloop.c @@ -140,7 +140,7 @@ struct _ObtMainLoopFdHandlerType GDestroyNotify destroy; }; -ObtMainLoop *obt_main_loop_new() +ObtMainLoop *obt_main_loop_new(void) { ObtMainLoop *loop; @@ -33,7 +33,7 @@ gboolean prop_started = FALSE; #define CREATE(var) CREATE_NAME(var, #var) #define CREATE_(var) CREATE_NAME(var, "_" #var) -void obt_prop_startup() +void obt_prop_startup(void) { if (prop_started) return; prop_started = TRUE; diff --git a/obt/xevent.c b/obt/xevent.c index 9732c8f9..1cc32a94 100644 --- a/obt/xevent.c +++ b/obt/xevent.c @@ -44,7 +44,7 @@ static void xevent_handler(const XEvent *e, gpointer data); static guint window_hash(Window *w) { return *w; } static gboolean window_comp(Window *w1, Window *w2) { return *w1 == *w2; } -ObtXEventHandler* xevent_new() +ObtXEventHandler* xevent_new(void) { ObtXEventHandler *h; |
