]> Pileus Git - ~andy/git/commitdiff
bisect.c: mark file-local function static
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2010 05:20:55 +0000 (21:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2010 07:16:16 +0000 (23:16 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c

index f1a1f84aa04102378ffe37b8e5b617a6fffeb2fa..5c03398841e135a8f5941f89a43e0b02f7b02d57 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -593,7 +593,7 @@ struct commit_list *filter_skipped(struct commit_list *list,
  * is increased by one between each call, but that should not matter
  * for this application.
  */
-int get_prn(int count) {
+static int get_prn(int count) {
        count = count * 1103515245 + 12345;
        return ((unsigned)(count/65536) % PRN_MODULO);
 }