author | Lars Hjemli <hjemli@gmail.com> | 2007-05-14 21:58:29 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-14 22:00:37 (UTC) |
commit | 9927e63f387e6c9328eb3c347ecb0e339f8ac023 (patch) (side-by-side diff) | |
tree | 3a73f7652445007a66aad5b8969201be9d42ed68 /ui-summary.c | |
parent | 5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39 (diff) | |
download | cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.zip cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.tar.gz cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.tar.bz2 |
Specify static storage class for file-local declarations
Also fix some whitespace issues while at it.
Noticed by Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c index 9388f5f..f6120f9 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -7,9 +7,9 @@ */ #include "cgit.h" -int items = 0; +static int items; static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, int flags, void *cb_data) { |