diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-12-14 09:17:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-12-14 11:35:43 +0000 |
commit | bbdd7982563b7d8f89fcd3b7297b5fbdf21fc57f (patch) | |
tree | ed7c949449b8ca3cae0b74299a328872af0092ec /other/astyle | |
parent | 22fca79ad76147a07fcb3950a0a6ec1578ecc492 (diff) |
Fix unresolved reference in toxencryptsave API.
Also, make sure this won't happen again by checking for it in
format-source.
Diffstat (limited to 'other/astyle')
-rwxr-xr-x | other/astyle/format-source | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source index b702b488..c6d9982e 100755 --- a/other/astyle/format-source +++ b/other/astyle/format-source | |||
@@ -40,6 +40,11 @@ $APIDSL toxcore/tox.api.h > toxcore/tox.h | |||
40 | $APIDSL toxav/toxav.api.h > toxav/toxav.h | 40 | $APIDSL toxav/toxav.api.h > toxav/toxav.h |
41 | $APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h | 41 | $APIDSL toxencryptsave/toxencryptsave.api.h > toxencryptsave/toxencryptsave.h |
42 | 42 | ||
43 | if grep '<unresolved>' */*.h; then | ||
44 | echo "error: some apidsl references were unresolved" | ||
45 | exit 1 | ||
46 | fi | ||
47 | |||
43 | SOURCES=`find . -name "*.[ch]" -and -not -name "*.api.h" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"` | 48 | SOURCES=`find . -name "*.[ch]" -and -not -name "*.api.h" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"` |
44 | 49 | ||
45 | $ASTYLE -n --options=other/astyle/astylerc $SOURCES | 50 | $ASTYLE -n --options=other/astyle/astylerc $SOURCES |