From 6abb328523509d35663f54ee0012254232df4a0a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 21 May 2018 13:27:06 -0700 Subject: fixes #457 Create stub headers for compatibility I actually made these real headers, not stubs While here I made some improvements to the nng_compat man page, to improve the language and also the presentation on some devices. (We were going nuts with the icons, instead, I've made a single new section, called Caveats, that lists a bunch of them.) This should not have any impact on binary compatibility. --- tests/compat_testutil.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/compat_testutil.h') diff --git a/tests/compat_testutil.h b/tests/compat_testutil.h index ce5968a2..b7c2ecaa 100644 --- a/tests/compat_testutil.h +++ b/tests/compat_testutil.h @@ -28,8 +28,8 @@ // it for validating the compatibility features of nanomsg. As much as // possible we want to run tests from the nanomsg test suite unmodified. -#ifndef TESTUTIL_H_INCLUDED -#define TESTUTIL_H_INCLUDED +#ifndef COMPAT_TESTUTIL_H_INCLUDED +#define COMPAT_TESTUTIL_H_INCLUDED #include #include @@ -80,4 +80,4 @@ struct nn_thread { extern int nn_thread_init(struct nn_thread *, void (*)(void *), void *); extern void nn_thread_term(struct nn_thread *); -#endif // TESTUTIL_H_INCLUDED +#endif // COMPAT_TESTUTIL_H_INCLUDED -- cgit v1.2.3-70-g09d2