From 6faceae8ad58d549c2f03a453cc87c689c9317dd Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 14 Mar 2015 21:58:49 -0400 Subject: [PATCH] ck_ht: Make deprecation official. --- include/ck_ht.h | 4 ++++ src/ck_ht.c | 1 + 2 files changed, 5 insertions(+) diff --git a/include/ck_ht.h b/include/ck_ht.h index f58a925..df032ee 100644 --- a/include/ck_ht.h +++ b/include/ck_ht.h @@ -27,6 +27,10 @@ #ifndef _CK_HT_H #define _CK_HT_H +#ifndef _CK_HT_IM +#warning ck_ht is deprecated, see ck_hm, ck_hs or ck_rhs. +#endif /* !_CK_HT_IM */ + #include #if defined(CK_F_PR_LOAD_64) && defined(CK_F_PR_STORE_64) diff --git a/src/ck_ht.c b/src/ck_ht.c index 45fc96d..80a3bfe 100644 --- a/src/ck_ht.c +++ b/src/ck_ht.c @@ -24,6 +24,7 @@ * SUCH DAMAGE. */ +#define _CK_HT_IM #include #ifdef CK_F_HT