openbsd-ports/net/icb/patches/patch-icb_protos_h
2012-03-17 16:55:46 +00:00

22 lines
749 B
Plaintext

$OpenBSD: patch-icb_protos_h,v 1.2 2012/03/17 16:55:47 naddy Exp $
--- icb/protos.h.orig Fri Feb 24 14:20:25 1995
+++ icb/protos.h Sat Mar 17 10:49:38 2012
@@ -49,7 +49,7 @@ int filtertext(char *s);
int fnexit(void);
int fnterm(void);
int oset(char *clientData, Tcl_Interp *interp, int argc, char *argv[]);
-char *getline(char *prompt, int expand);
+char *get_line(char *prompt, int expand);
int getterm(void);
int getwinsize(void);
int gunlink(USAGE *u, USAGE **first, USAGE **last);
@@ -64,7 +64,7 @@ int importantmsg(char *pkt);
int inserttab(void);
int ishushed(char *nick);
int lcaseit(char *s);
-#ifdef linux
+#if defined(linux) || (defined(BSD) && BSD >= 199306)
int linebuffer(FILE *fp);
#else
int linebuffer(struct _iobuf *fp);