From b16cd5dc6368e6355ab02249ddb8fec705391416 Mon Sep 17 00:00:00 2001 From: anon Date: Tue, 5 Sep 2023 19:06:08 +0200 Subject: [PATCH] removed junk --- src/refsfound.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/src/refsfound.c b/src/refsfound.c index 4aab52f..65af0cc 100644 --- a/src/refsfound.c +++ b/src/refsfound.c @@ -43,36 +43,3 @@ long seekrelline(unsigned i) { void PCS_reset(void) { PCS_top = 0; } - -///* position references found file at specified line */ -// void -// seekline(unsigned int line) -//{ -// /* verify that there is a references found file */ -// if (refsfound == NULL) { -// return; -// } -// /* go to the beginning of the file */ -// rewind(refsfound); -// /**/ -// seekrelline(line); -// } -// -///* XXX: this is just dodging the problem */ -// void -// seekrelline(unsigned int line){ -// int c; -// -// /* verify that there is a references found file */ -// if (refsfound == NULL) { -// return; -// } -// -// /* find the requested line */ -// nextline = 1; -// while (nextline < line && (c = getc(refsfound)) != EOF) { -// if (c == '\n') { -// nextline++; -// } -// } -// }