summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-23 00:32:40 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-25 09:06:50 +0000
commitc951b825bcffdb26140633f657e740e593ea0e80 (patch)
tree69a6149da99251b8cf9edb7ad8f97f346afbdeeb /tests
parent9f3a5a64b5f3c402e14094da2e4e71d49f03be9e (diff)
downloadlibgit2-c951b825bcffdb26140633f657e740e593ea0e80.tar.gz
deprecation: define GIT_DEPRECATE_HARD internally
Ensure that we do not use any deprecated functions in the library source, test code or examples.
Diffstat (limited to 'tests')
-rw-r--r--tests/stream/deprecated.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stream/deprecated.c b/tests/stream/deprecated.c
index 4fb422e63..2c2bbfdc3 100644
--- a/tests/stream/deprecated.c
+++ b/tests/stream/deprecated.c
@@ -1,3 +1,5 @@
+#undef GIT_DEPRECATE_HARD
+
#include "clar_libgit2.h"
#include "git2/sys/stream.h"
#include "streams/tls.h"