summaryrefslogtreecommitdiff
path: root/textproc/nbsed
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-23 03:03:08 +0000
committerjlam <jlam>2004-08-23 03:03:08 +0000
commit7b75a66ce4b0d52ba77c91052ef9a08d67f8c036 (patch)
tree79731ac6c3d641003b73c9967a8a48cd6d007a4b /textproc/nbsed
parent46ddc013161c530d5d70314d2b6e1e67c84ce5a4 (diff)
downloadpkgsrc-7b75a66ce4b0d52ba77c91052ef9a08d67f8c036.tar.gz
Rename the err() defined in the nbsed sources to "sederr" to avoid
conflicts with the system err() pulled in via <nbcompat.h>.
Diffstat (limited to 'textproc/nbsed')
-rw-r--r--textproc/nbsed/files/extern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/textproc/nbsed/files/extern.h b/textproc/nbsed/files/extern.h
index ec642209bf7..d1824b07373 100644
--- a/textproc/nbsed/files/extern.h
+++ b/textproc/nbsed/files/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.2 2004/06/13 13:04:02 grant Exp $ */
+/* $NetBSD: extern.h,v 1.3 2004/08/23 03:03:08 jlam Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/6/93
- * $NetBSD: extern.h,v 1.2 2004/06/13 13:04:02 grant Exp $
+ * $NetBSD: extern.h,v 1.3 2004/08/23 03:03:08 jlam Exp $
*/
/*-
@@ -70,7 +70,7 @@
* SUCH DAMAGE.
*
* from: @(#)extern.h 8.1 (Berkeley) 6/6/93
- * $NetBSD: extern.h,v 1.2 2004/06/13 13:04:02 grant Exp $
+ * $NetBSD: extern.h,v 1.3 2004/08/23 03:03:08 jlam Exp $
*/
extern struct s_command *prog;
@@ -88,6 +88,7 @@ void cfclose(struct s_command *, struct s_command *);
void compile(void);
void cspace(SPACE *, char *, size_t, enum e_spflag);
char *cu_fgets(char *, int);
+#define err sederr
void err(int, const char *, ...)
__attribute__((__format__(__printf__, 2, 3)));
int mf_fgets(SPACE *, enum e_spflag);