summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_read.c
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2016-05-02 18:24:26 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2016-05-02 18:24:26 +0000
commit5ac1513f7000459d906395b3a9157798b5031fb6 (patch)
treef80d2e87ccbe977f5f1127062f4d0aca63f795fd /usr.bin/vi/cl/cl_read.c
parent24ae9ab57aeb722a2c97a31ec7cb5a2f788d09e0 (diff)
Remove CHAR_T in favor of native types.
schwarze@ agrees with the direction. Few tweaks and OK tb@
Diffstat (limited to 'usr.bin/vi/cl/cl_read.c')
-rw-r--r--usr.bin/vi/cl/cl_read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/cl/cl_read.c b/usr.bin/vi/cl/cl_read.c
index a2c1cadb2ef..fd2fc04de5e 100644
--- a/usr.bin/vi/cl/cl_read.c
+++ b/usr.bin/vi/cl/cl_read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl_read.c,v 1.19 2014/11/12 04:28:41 bentley Exp $ */
+/* $OpenBSD: cl_read.c,v 1.20 2016/05/02 18:24:25 martijn Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -32,7 +32,7 @@
#include "cl.h"
static input_t cl_read(SCR *,
- u_int32_t, CHAR_T *, size_t, int *, struct timeval *);
+ u_int32_t, char *, size_t, int *, struct timeval *);
static int cl_resize(SCR *, size_t, size_t);
/*
@@ -123,7 +123,7 @@ retest: if (LF_ISSET(EC_INTERRUPT) || F_ISSET(clp, CL_SIGINT)) {
* Read characters from the input.
*/
static input_t
-cl_read(SCR *sp, u_int32_t flags, CHAR_T *bp, size_t blen, int *nrp,
+cl_read(SCR *sp, u_int32_t flags, char *bp, size_t blen, int *nrp,
struct timeval *tp)
{
struct termios term1, term2;