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 "client_props.h"
|
||||||
|
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#ifdef HAVE_STRING_H
|
#include <string.h>
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void cwmcc_client_get_protocols(Window win, Atom **protocols)
|
void cwmcc_client_get_protocols(Window win, Atom **protocols)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
|
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#ifdef HAVE_STRING_H
|
#include <string.h>
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* this just isn't used...
|
/* this just isn't used...
|
||||||
static gboolean get(Window win, Atom prop, Atom type, int size,
|
static gboolean get(Window win, Atom prop, Atom type, int size,
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
#include "prop.h"
|
#include "prop.h"
|
||||||
#include "root_props.h"
|
#include "root_props.h"
|
||||||
|
|
||||||
#ifdef HAVE_STRING_H
|
#include <string.h>
|
||||||
# include <string.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void cwmcc_root_get_supported(Window win, Atom **atoms)
|
void cwmcc_root_get_supported(Window win, Atom **atoms)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue