summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 21:20:55 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-11 23:16:16 -0800
commitebdc302e3e930ec7f3f6e818ecc815a7a5f01781 (patch)
tree337e0f7b2f7fc7626b8abffdae69e7cb50a53711 /bisect.c
parentc0eb604330e1288300d915f25868d1eed88d3038 (diff)
downloadgit-ebdc302e3e930ec7f3f6e818ecc815a7a5f01781.tar.gz
bisect.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
-rw-r--r--bisect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bisect.c b/bisect.c
index f1a1f84aa0..5c03398841 100644
--- 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);
}