Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove the NANOPB_INTERNALS functions from public API.
[apps/agl-service-can-low-level.git]
/
tests
/
decode_unittests
/
decode_unittests.c
diff --git
a/tests/decode_unittests/decode_unittests.c
b/tests/decode_unittests/decode_unittests.c
index
9c447a5
..
1be0191
100644
(file)
--- 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"