Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh - int putbuf_func ARGS((const char *s, size_t len));
details: https://anonhg.NetBSD.org/src/rev/148e9d3e88ae
branches: trunk
changeset: 753587:148e9d3e88ae
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Apr 02 20:19:40 2010 +0000
description:
- int putbuf_func ARGS((const char *s, size_t len));
+ int (*putbuf_func) ARGS((const char *, size_t));
for pcc
- did not recognise pointer to function
- argument names shadowed other arguments
diffstat:
bin/ksh/edit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ac234f6c905c -r 148e9d3e88ae bin/ksh/edit.c
--- a/bin/ksh/edit.c Fri Apr 02 19:34:44 2010 +0000
+++ b/bin/ksh/edit.c Fri Apr 02 20:19:40 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: edit.c,v 1.23 2009/11/24 16:00:42 seanb Exp $ */
+/* $NetBSD: edit.c,v 1.24 2010/04/02 20:19:40 plunky Exp $ */
/*
* Command line editing - common code
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: edit.c,v 1.23 2009/11/24 16:00:42 seanb Exp $");
+__RCSID("$NetBSD: edit.c,v 1.24 2010/04/02 20:19:40 plunky Exp $");
#endif
@@ -1065,7 +1065,7 @@
x_escape(s, len, putbuf_func)
const char *s;
size_t len;
- int putbuf_func ARGS((const char *s, size_t len));
+ int (*putbuf_func) ARGS((const char *, size_t));
{
size_t add, wlen;
const char *ifs = str_val(local("IFS", 0));
Home |
Main Index |
Thread Index |
Old Index