diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-08-03 16:35:17 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-05 10:18:33 -0400 |
commit | 93becde0ff15d0a0b01ec477e9dfe641dd9569ea (patch) | |
tree | 964eb40e1030e9efcf7664c9148ea3e568c61bca /server/tests/resolv-tests.c | |
parent | 4a2370f8450dafefc11f890c799660a7b99da3e7 (diff) | |
download | sssd-93becde0ff15d0a0b01ec477e9dfe641dd9569ea.tar.gz sssd-93becde0ff15d0a0b01ec477e9dfe641dd9569ea.tar.bz2 sssd-93becde0ff15d0a0b01ec477e9dfe641dd9569ea.zip |
Consolidate tevent helpers
Diffstat (limited to 'server/tests/resolv-tests.c')
-rw-r--r-- | server/tests/resolv-tests.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/server/tests/resolv-tests.c b/server/tests/resolv-tests.c index 4b3a19e3..7026b983 100644 --- a/server/tests/resolv-tests.c +++ b/server/tests/resolv-tests.c @@ -35,15 +35,6 @@ /* Interface under test */ #include "resolv/async_resolv.h" -#ifndef tevent_req_set_callback -#define tevent_req_set_callback(req, func, data) \ - do { req->async.fn = func; req->async.private_data = data; } while(0) -#endif - -#ifndef tevent_req_callback_data -#define tevent_req_callback_data(req, type) ((type *)req->async.private_data) -#endif - int use_net_test; struct resolv_test_ctx { |