diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-17 08:15:51 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-19 11:13:01 +0200 |
commit | a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4 (patch) | |
tree | b0c8feb75ca24b1302b91ae16a2a1b3fff10ca46 /src/util | |
parent | 93192ebe1deb221e081b452ee7fadc4fea931f13 (diff) | |
download | sssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.tar.gz sssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.tar.bz2 sssd-a7185ac5df207c2b9bdb8bd96b478f69df4e9fd4.zip |
UTIL: Remove obsolete compat macros
All supported tevent releases contain these macros.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/util/util.h b/src/util/util.h index 5acc67be..d8aeb733 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; \ |