summaryrefslogtreecommitdiff
path: root/src/mwindow.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-09-18 20:07:59 -0700
committerVicent Martí <tanoku@gmail.com>2011-09-18 20:07:59 -0700
commit71a4c1f16ffc71bced673c5883d5ea621cc8d24f (patch)
treec8b035c6d1fc55f13f8c2213c9be226137fe077a /src/mwindow.c
parenta8076074702d336b5d9f0103c8420c17bf7a6b4c (diff)
parentd568d5856bcc4f283ae1dda0e27d680ee22fb067 (diff)
downloadlibgit2-71a4c1f16ffc71bced673c5883d5ea621cc8d24f.tar.gz
Merge pull request #384 from kiryl/warnings
Add more -W flags to CFLAGS
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 76b80d779..c126fa2bd 100644
--- a/src/mwindow.c
+++ b/src/mwindow.c
@@ -113,7 +113,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;