diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
commit | a1c995b626fc56226f7c279f087b50769ff8df18 (patch) | |
tree | 26917801933240b41539e26bd8cb5dc27d8597a1 /sys/sys/tty.h | |
parent | 175dffc0f66eae582032914b7ecddc666edd4e83 (diff) | |
download | src-a1c995b626fc56226f7c279f087b50769ff8df18.tar.gz src-a1c995b626fc56226f7c279f087b50769ff8df18.zip |
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types. This time I also
remembered the trick to making things static: Put "static" in front of
them.
A couple of finer points by: bde
Notes
Notes:
svn path=/head/; revision=30354
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r-- | sys/sys/tty.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 81d2de141976..bf0ec88c2e36 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.h 8.6 (Berkeley) 1/21/94 - * $Id: tty.h,v 1.38 1997/02/22 09:46:13 peter Exp $ + * $Id: tty.h,v 1.39 1997/09/14 02:25:41 peter Exp $ */ #ifndef _SYS_TTY_H_ @@ -213,6 +213,9 @@ struct speedtab { #define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq) #ifdef KERNEL +#ifdef MALLOC_DECLARE +MALLOC_DECLARE(M_TTYS); +#endif extern struct tty *constty; /* Temporary virtual console. */ int b_to_q __P((char *cp, int cc, struct clist *q)); |