summaryrefslogtreecommitdiffstats
path: root/tests/decode_unittests/decode_unittests.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-10-29 16:32:47 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-10-29 16:32:47 +0200
commit287207841db5df93cf7ff9c71a5f1548deb26b09 (patch)
tree61d3a8e057ecefb3e19c0c4474542d8dad6bb0e7 /tests/decode_unittests/decode_unittests.c
parent0074deba9a2ff99c877abe1293f72a9ed76f46c1 (diff)
Remove the NANOPB_INTERNALS functions from public API.
These have been deprecated since nanopb-0.1.6 (some since 0.1.3). Equivalent functions with better interface are available in the API. Update issue 91 Status: FixedInGit
Diffstat (limited to 'tests/decode_unittests/decode_unittests.c')
-rw-r--r--tests/decode_unittests/decode_unittests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/decode_unittests/decode_unittests.c b/tests/decode_unittests/decode_unittests.c
index 9c447a57..1be01913 100644
--- a/tests/decode_unittests/decode_unittests.c
+++ b/tests/decode_unittests/decode_unittests.c
@@ -1,8 +1,8 @@
-#define NANOPB_INTERNALS
+/* This includes the whole .c file to get access to static functions. */
+#include "pb_decode.c"
#include <stdio.h>
#include <string.h>
-#include "pb_decode.h"
#include "unittests.h"
#include "unittestproto.pb.h"