From 7b75a66ce4b0d52ba77c91052ef9a08d67f8c036 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 23 Aug 2004 03:03:08 +0000 Subject: Rename the err() defined in the nbsed sources to "sederr" to avoid conflicts with the system err() pulled in via . --- textproc/nbsed/files/extern.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'textproc/nbsed') 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); -- cgit v1.2.3