diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2019-11-06 11:08:23 +0100 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2019-11-06 11:08:23 +0100 |
| commit | cd5e33fbc2d11477aad954a6f343e791fdc7ef85 (patch) | |
| tree | 570b274c880395de39a5d53915395ea83e2bb065 /examples/common.c | |
| parent | 882220bf116677ff6b89218a5c8bb618463013f4 (diff) | |
| download | libgit2-cd5e33fbc2d11477aad954a6f343e791fdc7ef85.tar.gz | |
global: DRY includes of assert.h
Diffstat (limited to 'examples/common.c')
| -rw-r--r-- | examples/common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/common.c b/examples/common.c index 22807e129..47cfac6a0 100644 --- a/examples/common.c +++ b/examples/common.c @@ -12,7 +12,9 @@ * <http://creativecommons.org/publicdomain/zero/1.0/>. */ -#include <assert.h> + +#include "common.h" + #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> @@ -25,7 +27,6 @@ #include <string.h> #include <errno.h> -#include "common.h" void check_lg2(int error, const char *message, const char *extra) { |
