Summary: cosmetics, prescind from using inlines for trivial one-off stuff
authorSebastian Freundt <hroptatyr@fresse.org>
Sat, 7 Jan 2012 16:10:28 +0000 (16:10 +0000)
committerSebastian Freundt <hroptatyr@fresse.org>
Sat, 7 Jan 2012 16:10:28 +0000 (16:10 +0000)
Keywords: bldchn code hygiene

* src/ui/X11/event-Xt.c: superfluous inlines are removed

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
src/ui/X11/event-Xt.c

index 57159d5..7650a8c 100644 (file)
@@ -486,7 +486,7 @@ struct mod_clo_s {
        unsigned int:3;
 };
 
-static inline void
+static void
 modbarf(KeyCode code, const char *name, const char *other,
        struct mod_clo_s *clo)
 {
@@ -499,7 +499,7 @@ modbarf(KeyCode code, const char *name, const char *other,
        return;
 }
 
-static inline void
+static void
 modwarn(KeyCode code, const char *name, int old, const char *other,
        struct mod_clo_s *clo)
 {
@@ -511,8 +511,9 @@ modwarn(KeyCode code, const char *name, int old, const char *other,
        return;
 }
 
-static inline void
-store_modifier(KeyCode code, const char *name, int *old, struct mod_clo_s *clo)
+static void
+store_modifier(KeyCode code, const char *name, unsigned int *old,
+              struct mod_clo_s *clo)
 {
 #define modifier_index clo->modifier_index
 #define modifier_key   clo->modifier_key