diff options
author | steve <steve@FreeBSD.org> | 1997-08-07 21:42:17 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-08-07 21:42:17 +0000 |
commit | 8eb2ceeba6184065f9f56a6be00921df473d24f7 (patch) | |
tree | 14d11b65657d85fe0539351a66120ba544c4dda8 /bin/csh/csh.h | |
parent | 717042838c948b136f885ba4c16e32cd1787b598 (diff) | |
download | FreeBSD-src-8eb2ceeba6184065f9f56a6be00921df473d24f7.zip FreeBSD-src-8eb2ceeba6184065f9f56a6be00921df473d24f7.tar.gz |
Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
register keyword, and -Wall cleaning.
Obtained from: similar changes in NetBSD
Diffstat (limited to 'bin/csh/csh.h')
-rw-r--r-- | bin/csh/csh.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/csh/csh.h b/bin/csh/csh.h index 290262f..6e257d2 100644 --- a/bin/csh/csh.h +++ b/bin/csh/csh.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)csh.h 8.1 (Berkeley) 5/31/93 - * $Id$ + * $Id: csh.h,v 1.4 1997/02/22 14:01:41 peter Exp $ */ /* @@ -84,7 +84,7 @@ typedef void *ptr_t; #include "const.h" #include "char.h" -#include "err.h" +#include "errnum.h" #define xmalloc(i) Malloc(i) #define xrealloc(p, i) Realloc(p, i) @@ -187,8 +187,8 @@ jmp_buf reslab; #define setexit() (setjmp(reslab)) #define reset() longjmp(reslab, 1) /* Should use structure assignment here */ -#define getexit(a) bcopy((char *)reslab, ((char *)(a)), sizeof reslab) -#define resexit(a) bcopy((char *)(a), (char *)reslab, sizeof reslab) +#define getexit(a) memcpy(((char *)(a)), (char *)reslab, sizeof reslab) +#define resexit(a) memcpy((char *)reslab, (char *)(a), sizeof reslab) Char *gointr; /* Label for an onintr transfer */ |