summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-01 03:08:15 +0000
committermarcel <marcel@FreeBSD.org>2004-07-01 03:08:15 +0000
commit84d2199772842db8c4e22f6836f70dec94dc6162 (patch)
tree7f8aea66bc8d76dbfe5b415aba71220f526f5688
parent8bb6b62186e29d603d1b2802e51b3c49efcfd543 (diff)
downloadFreeBSD-src-84d2199772842db8c4e22f6836f70dec94dc6162.zip
FreeBSD-src-84d2199772842db8c4e22f6836f70dec94dc6162.tar.gz
Fix build: forward declare struct tty before defining the tty function
types.
-rw-r--r--sys/sys/tty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index 1bbb900..8f3818f 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -65,6 +65,8 @@ struct clist {
char *c_cl; /* Pointer to the last cblock. */
};
+struct tty;
+
typedef void t_oproc_t(struct tty *);
typedef void t_stop_t(struct tty *, int);
typedef int t_param_t(struct tty *, struct termios *);
OpenPOWER on IntegriCloud