openbsd-ports/net/netatalk/patches/patch-libatp-atpbufsc

19 lines
361 B
Plaintext

--- libatalk/atp/atp_bufs.c.orig Fri Oct 15 17:00:50 1999
+++ libatalk/atp/atp_bufs.c Fri Oct 15 17:02:08 1999
@@ -41,6 +41,7 @@
static int numbufs = 0;
#endif EBUG
+int more_bufs();
struct atpbuf *alloc_buf()
{
@@ -75,6 +76,7 @@
/* only call this when the free_list is empty...
* N_MORE_BUFS must be >= one
*/
+int
more_bufs()
{
int i;