pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/nbsed/files Rename the err() defined in the n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6e06db59cbf
branches:  trunk
changeset: 479808:b6e06db59cbf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Aug 23 03:03:08 2004 +0000

description:
Rename the err() defined in the nbsed sources to "sederr" to avoid
conflicts with the system err() pulled in via <nbcompat.h>.

diffstat:

 textproc/nbsed/files/extern.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 111db02ca440 -r b6e06db59cbf textproc/nbsed/files/extern.h
--- a/textproc/nbsed/files/extern.h     Mon Aug 23 02:58:58 2004 +0000
+++ b/textproc/nbsed/files/extern.h     Mon Aug 23 03:03:08 2004 +0000
@@ -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    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);



Home | Main Index | Thread Index | Old Index