openbsd-ports/net/netatalk/reference/patches/patch-libatp-atpbufsc
naddy d7260847a5 Re-import netatalk-990130 into subdirectory.
Submitted by maintainer Ian McWilliam <i.mcwilliam@uws.edu.au>.
2002-07-23 11:47:35 +00:00

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;