aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2008-01-29 21:29:02 +0000
committerReuben Thomas <rrt@sc3d.org>2008-01-29 21:29:02 +0000
commit65cdb09e346c2244eba8032cc064c0a3a0990b15 (patch)
tree7b0c4241d512174cb1ff9661be7c050334eff23a /ncpd
parentdeb29cbd1004f2eb8c994e9bd7fe3e375a46272e (diff)
downloadplptools-65cdb09e346c2244eba8032cc064c0a3a0990b15.tar.gz
plptools-65cdb09e346c2244eba8032cc064c0a3a0990b15.tar.bz2
plptools-65cdb09e346c2244eba8032cc064c0a3a0990b15.zip
Fix some warnings.
Diffstat (limited to 'ncpd')
-rw-r--r--ncpd/mp_serial.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ncpd/mp_serial.c b/ncpd/mp_serial.c
index 7483a3e..392f64e 100644
--- a/ncpd/mp_serial.c
+++ b/ncpd/mp_serial.c
@@ -38,9 +38,7 @@
#ifdef sun
#include <sys/ttold.h> /* sun has TIOCEXCL there */
#endif
-#if defined (__SVR4)
#include <stdlib.h>
-#endif
#ifndef hpux
#define mflag int
@@ -49,12 +47,8 @@
#include <sys/modem.h>
#endif
+#include "mp_serial.h"
-/*
- #if !defined(CRTSCTS) && defined(_IBMR2)
- #define CRTSCTS 0x80000000
- #endif
- */
#ifdef __sgi
#define CRTSCTS CNEW_RTSCTS