Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit Update for recent parse__escape() prototype change
details: https://anonhg.NetBSD.org/src/rev/a8cb12ff8015
branches: trunk
changeset: 581155:a8cb12ff8015
user: lukem <lukem%NetBSD.org@localhost>
date: Sun May 29 04:58:15 2005 +0000
description:
Update for recent parse__escape() prototype change
diffstat:
lib/libedit/parse.c | 6 +++---
lib/libedit/parse.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r a6930ebcd3ba -r a8cb12ff8015 lib/libedit/parse.c
--- a/lib/libedit/parse.c Sun May 29 03:55:37 2005 +0000
+++ b/lib/libedit/parse.c Sun May 29 04:58:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.21 2005/05/29 03:55:37 christos Exp $ */
+/* $NetBSD: parse.c,v 1.22 2005/05/29 04:58:15 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: parse.c,v 1.21 2005/05/29 03:55:37 christos Exp $");
+__RCSID("$NetBSD: parse.c,v 1.22 2005/05/29 04:58:15 lukem Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -136,7 +136,7 @@
* the appropriate character or -1 if the escape is not valid
*/
protected int
-parse__escape(const char ** ptr)
+parse__escape(const char **ptr)
{
const char *p;
int c;
diff -r a6930ebcd3ba -r a8cb12ff8015 lib/libedit/parse.h
--- a/lib/libedit/parse.h Sun May 29 03:55:37 2005 +0000
+++ b/lib/libedit/parse.h Sun May 29 04:58:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.h,v 1.5 2003/08/07 16:44:32 agc Exp $ */
+/* $NetBSD: parse.h,v 1.6 2005/05/29 04:58:15 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
#define _h_el_parse
protected int parse_line(EditLine *, const char *);
-protected int parse__escape(const char ** const);
+protected int parse__escape(const char **);
protected char *parse__string(char *, const char *);
protected int parse_cmd(EditLine *, const char *);
Home |
Main Index |
Thread Index |
Old Index