summaryrefslogtreecommitdiff
path: root/sys/kern/tty_nmea.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2015-12-21 21:49:04 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2015-12-21 21:49:04 +0000
commit824b937d1c970653b91446afcf68b5b865c5239f (patch)
tree0ac2c6e671b7557f338ebfb350bdb11eeb30a5a9 /sys/kern/tty_nmea.c
parentb04c5a6f444cdefbbe6dee9c1168656fae50a3ff (diff)
Move ppp, nmea, endrun, and msts prototypes to tty.h
Fix inconsistent arguments for pppopen/pppclose/pppstart. Use passed in argument p in pppopen instead of curproc. "Looks good to me" deraadt@
Diffstat (limited to 'sys/kern/tty_nmea.c')
-rw-r--r--sys/kern/tty_nmea.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/tty_nmea.c b/sys/kern/tty_nmea.c
index 2e216efcc09..669ccc8df29 100644
--- a/sys/kern/tty_nmea.c
+++ b/sys/kern/tty_nmea.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_nmea.c,v 1.44 2014/11/03 03:08:00 deraadt Exp $ */
+/* $OpenBSD: tty_nmea.c,v 1.45 2015/12/21 21:49:02 sf Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -34,9 +34,6 @@ int nmeadebug = 0;
#endif
#define DPRINTF(x) DPRINTFN(0, x)
-int nmeaopen(dev_t, struct tty *, struct proc *);
-int nmeaclose(struct tty *, int, struct proc *);
-int nmeainput(int, struct tty *);
void nmeaattach(int);
#define NMEAMAX 82