Source-Changes-HG archive

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

[src/netbsd-7]: src/lib/libform Pull up following revision(s) (requested by j...



details:   https://anonhg.NetBSD.org/src/rev/8e4c5b38ac4a
branches:  netbsd-7
changeset: 799634:8e4c5b38ac4a
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Nov 05 05:24:11 2015 +0000

description:
Pull up following revision(s) (requested by joerg in ticket #980):
        lib/libform/form.h: revision 1.23
        lib/libform/field.c: revision 1.29
Constify set_field_buffer.

diffstat:

 lib/libform/field.c |  6 +++---
 lib/libform/form.h  |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ca5eee7b988f -r 8e4c5b38ac4a lib/libform/field.c
--- a/lib/libform/field.c       Wed Nov 04 21:09:21 2015 +0000
+++ b/lib/libform/field.c       Thu Nov 05 05:24:11 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: field.c,v 1.27 2013/11/21 15:40:17 christos Exp $      */
+/*     $NetBSD: field.c,v 1.27.4.1 2015/11/05 05:24:11 riz Exp $       */
 /*-
  * Copyright (c) 1998-1999 Brett Lymn
  *                         (blymn%baea.com.au@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: field.c,v 1.27 2013/11/21 15:40:17 christos Exp $");
+__RCSID("$NetBSD: field.c,v 1.27.4.1 2015/11/05 05:24:11 riz Exp $");
 
 #include <sys/param.h>
 #include <stdlib.h>
@@ -409,7 +409,7 @@
  */
 
 int
-set_field_buffer(FIELD *field, int buffer, char *value)
+set_field_buffer(FIELD *field, int buffer, const char *value)
 {
        unsigned int len;
        int status;
diff -r ca5eee7b988f -r 8e4c5b38ac4a lib/libform/form.h
--- a/lib/libform/form.h        Wed Nov 04 21:09:21 2015 +0000
+++ b/lib/libform/form.h        Thu Nov 05 05:24:11 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: form.h,v 1.22 2013/11/26 01:17:00 christos Exp $       */
+/*     $NetBSD: form.h,v 1.22.4.1 2015/11/05 05:24:11 riz Exp $        */
 
 /*-
  * Copyright (c) 1998-1999 Brett Lymn
@@ -349,7 +349,7 @@
 int          scale_form(FORM *, int *, int *);
 int          set_current_field(FORM *, FIELD *);
 int          set_field_back(FIELD *, chtype);
-int          set_field_buffer(FIELD *, int, char *);
+int          set_field_buffer(FIELD *, int, const char *);
 int          set_field_fore(FIELD *, chtype);
 int          set_field_init(FORM *, Form_Hook);
 int          set_field_just(FIELD *, int);



Home | Main Index | Thread Index | Old Index