Module Name: src Committed By: plunky Date: Fri Apr 2 20:19:40 UTC 2010
Modified Files: src/bin/ksh: edit.c Log Message: - 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 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/bin/ksh/edit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ksh/edit.c diff -u src/bin/ksh/edit.c:1.23 src/bin/ksh/edit.c:1.24 --- src/bin/ksh/edit.c:1.23 Tue Nov 24 16:00:42 2009 +++ src/bin/ksh/edit.c Fri Apr 2 20:19:40 2010 @@ -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));