aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-12 07:48:21 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-12 07:48:21 -0700
commit0584aa354014e91a9036bc51bad438e8fddaf15f (patch)
treef9aed797c71bea1302f9aa8a5a3fd7b6787b276a /src/nng_compat.h
parentee4572147ade37bf07f8ef2f3049e8c81df312b7 (diff)
downloadnng-0584aa354014e91a9036bc51bad438e8fddaf15f.tar.gz
nng-0584aa354014e91a9036bc51bad438e8fddaf15f.tar.bz2
nng-0584aa354014e91a9036bc51bad438e8fddaf15f.zip
Moved a few private test items into test-specific header.
Diffstat (limited to 'src/nng_compat.h')
-rw-r--r--src/nng_compat.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nng_compat.h b/src/nng_compat.h
index 76494b5c..8c5cee6f 100644
--- a/src/nng_compat.h
+++ b/src/nng_compat.h
@@ -308,21 +308,6 @@ NN_DECL int nn_errno(void);
NN_DECL const char *nn_strerror(int);
NN_DECL void nn_term(void);
-// This stuff is intended to be exposed only for test programs and our
-// own utilities. Do not use in your own programs.
-
-#ifdef NNG_PRIVATE
-struct nn_thread {
- void *thr;
-};
-
-NN_DECL void nn_sleep(uint64_t);
-NN_DECL uint64_t nn_clock(void);
-NN_DECL int nn_thread_init(struct nn_thread *, void (*)(void *), void *);
-NN_DECL void nn_thread_term(struct nn_thread *);
-
-#endif // NNG_PRIVATE
-
#ifdef __cplusplus
}
#endif