diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2011-08-30 23:55:22 +0300 |
---|---|---|
committer | Kirill A. Shutemov <kirill@shutemov.name> | 2011-08-30 23:55:22 +0300 |
commit | d568d5856bcc4f283ae1dda0e27d680ee22fb067 (patch) | |
tree | af00ec95f08de8425111d3f57474b6ad63f826b1 /src/mwindow.c | |
parent | 51d0044629d0ac3e0f419910996c972b547f1156 (diff) | |
download | libgit2-d568d5856bcc4f283ae1dda0e27d680ee22fb067.tar.gz |
CMakefile: add -Wmissing-prototypes and fix warnings
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/mwindow.c')
-rw-r--r-- | src/mwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mwindow.c b/src/mwindow.c index 585d75c12..cf2427349 100644 --- a/src/mwindow.c +++ b/src/mwindow.c @@ -131,7 +131,7 @@ void git_mwindow_scan_lru( * Close the least recently used window. You should check to see if * the file descriptors need closing from time to time. */ -int git_mwindow_close_lru(git_mwindow_file *mwf) +static int git_mwindow_close_lru(git_mwindow_file *mwf) { unsigned int i; git_mwindow *lru_w = NULL, *lru_l = NULL; |