X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmarc_read_line.c;h=123f4757a96dafc2da3ac8252537516ee32418bb;hb=8e4840a9a7b6117d92d9d97fdb4048a7f8b9ce09;hp=ff5f38e5f164c2c1dd811986027a9af27caf5a93;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;p=yaz-moved-to-github.git diff --git a/src/marc_read_line.c b/src/marc_read_line.c index ff5f38e..123f475 100644 --- a/src/marc_read_line.c +++ b/src/marc_read_line.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ @@ -24,10 +24,10 @@ #include #include -int yaz_gets(int (*getbyte)(void *client_data), - void (*ungetbyte)(int b, void *client_data), - void *client_data, - WRBUF w) +static int yaz_gets(int (*getbyte)(void *client_data), + void (*ungetbyte)(int b, void *client_data), + void *client_data, + WRBUF w) { size_t sz = 0; int ch = getbyte(client_data);