]> git.cameronkatri.com Git - cgit.git/commit
Always #include corresponding .h in .c files
authorJohn Keeping <john@keeping.me.uk>
Sat, 6 Apr 2013 10:37:59 +0000 (11:37 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 13:45:34 +0000 (15:45 +0200)
commit8f208794318f83826e98168b8b430f2d9a68bcce
treeb8e2b81f4899e75eda3666cba24ac3dc06daf151
parenta5e4ad2d8b9c6bcfc7029894d3a3837166996b35
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>
22 files changed:
html.c
html.h
scan-tree.c
ui-atom.c
ui-blob.c
ui-clone.c
ui-commit.c
ui-diff.c
ui-diff.h
ui-log.c
ui-patch.c
ui-plain.c
ui-refs.c
ui-repolist.c
ui-shared.c
ui-shared.h
ui-snapshot.c
ui-ssdiff.c
ui-stats.c
ui-summary.c
ui-tag.c
ui-tree.c