all repos — openbox @ 73f85d0a630840ab2aa06f1237ef5802b65b43ec

openbox fork - make it a bit more like ryudo

dont use #ifdef HAVE_FOO for ansi functions/headers
Dana Jansens danakj@orodu.net
commit

73f85d0a630840ab2aa06f1237ef5802b65b43ec

parent

949946a9b4054ebb46e2eca8bd7685dc9bb5765c

3 files changed, 3 insertions(+), 9 deletions(-)

jump to
M cwmcc/client_props.ccwmcc/client_props.c

@@ -4,9 +4,7 @@ #include "prop.h"

#include "client_props.h" #include <X11/Xutil.h> -#ifdef HAVE_STRING_H -# include <string.h> -#endif +#include <string.h> void cwmcc_client_get_protocols(Window win, Atom **protocols) {
M cwmcc/prop.ccwmcc/prop.c

@@ -3,9 +3,7 @@ #include "atom.h"

#include <X11/Xutil.h> #include <glib.h> -#ifdef HAVE_STRING_H -# include <string.h> -#endif +#include <string.h> /* this just isn't used... static gboolean get(Window win, Atom prop, Atom type, int size,
M cwmcc/root_props.ccwmcc/root_props.c

@@ -3,9 +3,7 @@ #include "atom.h"

#include "prop.h" #include "root_props.h" -#ifdef HAVE_STRING_H -# include <string.h> -#endif +#include <string.h> void cwmcc_root_get_supported(Window win, Atom **atoms) {