summaryrefslogtreecommitdiff
path: root/textproc/nbsed
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-23 03:03:08 +0000
committerjlam <jlam@pkgsrc.org>2004-08-23 03:03:08 +0000
commit14c650204f5931558906d0b624f87405249256b8 (patch)
tree79731ac6c3d641003b73c9967a8a48cd6d007a4b /textproc/nbsed
parent73596af21b20df9878290866d02fcc1cc3f14e09 (diff)
downloadpkgsrc-14c650204f5931558906d0b624f87405249256b8.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);