Diff options
authorJohn Keeping <john@keeping.me.uk>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Always #include corresponding .h in .c files
While doing this, remove declarations from header files where the corresponding definition is declared "static" in order to avoid build errors. Also re-order existing headers in ui-*.c so that the file-specific header always comes immediately after "cgit.h", helping with future consistency. Signed-off-by: John Keeping <john@keeping.me.uk>
-rw-r--r--html.c1
-rw-r--r--html.h2
-rw-r--r--scan-tree.c1
-rw-r--r--ui-atom.c1
-rw-r--r--ui-blob.c1
-rw-r--r--ui-clone.c1
-rw-r--r--ui-commit.c1
-rw-r--r--ui-diff.c1
-rw-r--r--ui-diff.h3
-rw-r--r--ui-log.c1
-rw-r--r--ui-patch.c1
-rw-r--r--ui-plain.c1
-rw-r--r--ui-refs.c1
-rw-r--r--ui-repolist.c1
-rw-r--r--ui-shared.c1
-rw-r--r--ui-shared.h2
-rw-r--r--ui-snapshot.c1
-rw-r--r--ui-ssdiff.c2
-rw-r--r--ui-stats.c2
-rw-r--r--ui-summary.c1
-rw-r--r--ui-tag.c1
-rw-r--r--ui-tree.c1
22 files changed, 20 insertions, 8 deletions