X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/4cc5270565ce1d0464394cedd64c959e3fdb6be0..799abc321dde13ca16af753d3d5935876e851b39:/usr/src/usr.bin/ex/ex.h diff --git a/usr/src/usr.bin/ex/ex.h b/usr/src/usr.bin/ex/ex.h index abcfff2a08..997c3ff678 100644 --- a/usr/src/usr.bin/ex/ex.h +++ b/usr/src/usr.bin/ex/ex.h @@ -1,9 +1,10 @@ -/* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. The Berkeley software License Agreement - * specifies the terms and conditions for redistribution. +/*- + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. + * + * %sccs.include.proprietary.c% * - * @(#)ex.h 7.10 (Berkeley) %G% + * @(#)ex.h 8.1 (Berkeley) %G% */ #ifdef V6 @@ -158,7 +159,9 @@ extern struct option options[NOPTS + 1]; # define BUFSIZ 512 # endif # endif +# ifndef NULL # define NULL 0 +# endif # define EOF -1 #endif @@ -342,7 +345,7 @@ var line *undadot; /* If we saved all lines, dot reverts here */ extern int (*Outchar)(); extern int (*Pline)(); extern int (*Put_char)(); -var void (*oldhup)(); +sig_t oldhup; int (*setlist())(); int (*setnorm())(); int (*setnorm())(); @@ -391,15 +394,15 @@ int normchar(); int normline(); int numbline(); var void (*oldquit)(); -int onhup(); -int onintr(); -int onsusp(); +void onhup(); +void onintr(); +void onsusp(); int putch(); int shift(); int termchar(); int vfilter(); #ifdef CBREAK -int vintr(); +void vintr(); #endif int vputch(); int vshftop();