openbsd-ports/net/netatalk/patches/patch-etcpapd-fileh

22 lines
637 B
Plaintext

--- etc/papd/file.h.orig Thu May 18 05:37:33 1995
+++ etc/papd/file.h Fri Nov 19 11:41:47 1999
@@ -20,7 +20,7 @@
if ( (pf)->pf_end + (len) > (pf)->pf_buf + (pf)->pf_len ) { \
morespace( (pf), (data), (len)); \
} else { \
- bcopy( (data), (pf)->pf_end, (len)); \
+ memcpy( (pf)->pf_end, (data), (len)); \
(pf)->pf_end += (len); \
}
#define PF_BUFSIZ( pf ) ((pf)->pf_end - (pf)->pf_cur)
@@ -29,3 +29,9 @@
((pf)->pf_cur = (pf)->pf_end = (pf)->pf_buf)))
#define PF_MORESPACE 1024
+
+void consumetomark(), spoolerror();
+int lp_conn_unix(), lp_disconn_unix();
+int lp_queue(), lp_rmjob();
+int markline(), morespace();
+