diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-21 13:27:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-21 13:28:56 -0700 |
| commit | 6abb328523509d35663f54ee0012254232df4a0a (patch) | |
| tree | c3a83caeadf0e716bea7debb7d5539e4a7c29263 /tests/compat_testutil.h | |
| parent | 0671f3d49ef001c70d47d7398e47a23dbc3dd556 (diff) | |
| download | nng-6abb328523509d35663f54ee0012254232df4a0a.tar.gz nng-6abb328523509d35663f54ee0012254232df4a0a.tar.bz2 nng-6abb328523509d35663f54ee0012254232df4a0a.zip | |
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.
Diffstat (limited to 'tests/compat_testutil.h')
| -rw-r--r-- | tests/compat_testutil.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <assert.h> #include <stdio.h> @@ -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 |
