summaryrefslogtreecommitdiff
path: root/src/mwindow.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-08-30 23:55:22 +0300
committerKirill A. Shutemov <kirill@shutemov.name>2011-08-30 23:55:22 +0300
commitd568d5856bcc4f283ae1dda0e27d680ee22fb067 (patch)
treeaf00ec95f08de8425111d3f57474b6ad63f826b1 /src/mwindow.c
parent51d0044629d0ac3e0f419910996c972b547f1156 (diff)
downloadlibgit2-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.c2
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;