summaryrefslogtreecommitdiff
path: root/print/ja-vflib-lib/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'print/ja-vflib-lib/patches/patch-ah')
-rw-r--r--print/ja-vflib-lib/patches/patch-ah47
1 files changed, 47 insertions, 0 deletions
diff --git a/print/ja-vflib-lib/patches/patch-ah b/print/ja-vflib-lib/patches/patch-ah
new file mode 100644
index 00000000000..018f49cb4b7
--- /dev/null
+++ b/print/ja-vflib-lib/patches/patch-ah
@@ -0,0 +1,47 @@
+$NetBSD: patch-ah,v 1.1 2006/02/24 21:01:23 minskim Exp $
+
+--- src/fman.c.orig 1998-06-10 03:54:17.000000000 -0700
++++ src/fman.c
+@@ -471,6 +471,8 @@ CacheCheck(port)
+ }
+
+
++Private void ReturnCache();
++
+ /*
+ * CacheIt() --- cache it. The cache slot is moved into
+ * the head of the LRU list.
+@@ -480,7 +482,6 @@ CacheIt(port)
+ int port;
+ {
+ CACHE *cptr;
+- Private void ReturnCache();
+
+ if ((cptr = RequireCache()) == (CACHE*)NULL){
+ fprintf(stderr, "VFlib: CacheIt() - error\n");
+@@ -534,6 +535,8 @@ ReturnCache(cptr)
+ ** LRU LIST
+ **/
+
++Private int LRUPutTop2();
++
+ /* LRUMoveTop() - moves a cache block into the top of LRU list.
+ * THE CACHE *MUST* BE IN LRU LIST.
+ */
+@@ -542,7 +545,6 @@ LRUMoveTop(cptr)
+ CACHE *cptr;
+ {
+ CACHE *cptr_b, *cptr_f;
+- Private int LRUPutTop2();
+
+ cptr_b = cptr->l_back;
+ cptr_f = cptr->l_forw;
+@@ -558,8 +560,6 @@ Private int
+ LRUPutTop(cptr)
+ CACHE *cptr;
+ {
+- Private int LRUPutTop2();
+-
+ return LRUPutTop2(cptr, TRUE);
+ }
+