summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-17 08:15:51 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-19 11:13:01 +0200
commita7185ac5df207c2b9bdb8bd96b478f69df4e9fd4 (patch)
treeb0c8feb75ca24b1302b91ae16a2a1b3fff10ca46 /src/util/util.h
parent93192ebe1deb221e081b452ee7fadc4fea931f13 (diff)
downloadsssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.tar.gz
sssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.tar.xz
sssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.zip
UTIL: Remove obsolete compat macros
All supported tevent releases contain these macros.
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 5acc67bec..d8aeb733e 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -238,25 +238,6 @@ errno_t set_debug_file_from_fd(const int fd);
#endif
#endif
-/* TODO: remove later
- * These functions are available in the latest tevent and are the ones that
- * should be used as tevent_req is rightfully opaque there */
-#ifndef tevent_req_data
-#define tevent_req_data(req, type) ((type *)req->private_state)
-#define tevent_req_set_callback(req, func, data) \
- do { req->async.fn = func; req->async.private_data = data; } while(0)
-#define tevent_req_callback_data(req, type) ((type *)req->async.private_data)
-#define tevent_req_notify_callback(req) \
- do { \
- if (req->async.fn != NULL) { \
- req->async.fn(req); \
- } \
- } while(0)
-
-/* noop */
-#define tevent_loop_allow_nesting(x)
-#endif
-
#define TEVENT_REQ_RETURN_ON_ERROR(req) do { \
enum tevent_req_state TRROEstate; \
uint64_t TRROEerr; \