summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2010-09-04 17:18:02 +0100
committerArnaud Fontaine <arnau@debian.org>2010-12-23 14:51:26 +0900
commit2f0334b3eb49fa3a0d6daf6b9dde10e480a5c59f (patch)
treeb1b01b601ff7d24c0b1ee040ba9cbb09295e3b07
parent118a3c86b3d3b2fab20f365e4a5703e40ad2e1b1 (diff)
downloadxcb-util-2f0334b3eb49fa3a0d6daf6b9dde10e480a5c59f.tar.gz
Remove deprecated atoms.
Atoms defined in this library has been moved to xproto and marked as deprecated almost one year ago.
-rw-r--r--atom/atoms.gperf.m43
-rw-r--r--atom/xcb_atom.h.m413
2 files changed, 0 insertions, 16 deletions
diff --git a/atom/atoms.gperf.m4 b/atom/atoms.gperf.m4
index d26814e..190e395 100644
--- a/atom/atoms.gperf.m4
+++ b/atom/atoms.gperf.m4
@@ -12,9 +12,6 @@
#include <stdarg.h>
#include "xcb_atom.h"
-define(`COUNT', 0)dnl
-define(`DO', `const xcb_atom_t $1 = define(`COUNT', incr(COUNT))COUNT;')dnl
-include(atomlist.m4)`'dnl
%}
%readonly-tables
diff --git a/atom/xcb_atom.h.m4 b/atom/xcb_atom.h.m4
index 0eb57d2..ce1473e 100644
--- a/atom/xcb_atom.h.m4
+++ b/atom/xcb_atom.h.m4
@@ -40,19 +40,6 @@ char *xcb_atom_name_by_screen(const char *base, uint8_t screen);
char *xcb_atom_name_by_resource(const char *base, uint32_t resource);
char *xcb_atom_name_unique(const char *base, uint32_t id);
-#ifndef X_DEPRECATED
-#ifdef __GNUC__
-#define X_DEPRECATED __attribute__((deprecated))
-#else
-#define X_DEPRECATED
-#endif
-#endif
-
-/* These constants are deprecated in favour of XCB_ATOM_*
- from xproto.h */
-define(`DO', `extern const xcb_atom_t $1 X_DEPRECATED;')dnl
-include(atomlist.m4)`'dnl
-
#ifdef __cplusplus
}
#endif