dont use #ifdef HAVE_FOO for ansi functions/headers
This commit is contained in:
parent
949946a9b4
commit
73f85d0a63
3 changed files with 3 additions and 9 deletions
|
@ -4,9 +4,7 @@
|
|||
#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)
|
||||
{
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
|
||||
#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,
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
#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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue