dont use #ifdef HAVE_FOO for ansi functions/headers
Dana Jansens danakj@orodu.net
3 files changed,
3 insertions(+),
9 deletions(-)
M
cwmcc/client_props.c
→
cwmcc/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.c
→
cwmcc/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.c
→
cwmcc/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) {