diff options
author | brian <brian@cvs.openbsd.org> | 1999-04-26 08:54:51 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-04-26 08:54:51 +0000 |
commit | 5fd7d925e278067edfe930beeef2c61af1a45387 (patch) | |
tree | 73d806fc27a23f9d54c53d6ac5321ed18d5ef44b /usr.sbin | |
parent | 5bae9f98baad73768fdd86a6b10cd414f5bf7cbe (diff) |
#include <errno.h>, not <sys/errno.h>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp/arp.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/defs.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/iface.c | 8 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/ipcp.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/tun.c | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/ppp/ppp/arp.c b/usr.sbin/ppp/ppp/arp.c index 04f6be66e25..33ff29406f9 100644 --- a/usr.sbin/ppp/ppp/arp.c +++ b/usr.sbin/ppp/ppp/arp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: arp.c,v 1.3 1999/02/06 03:22:30 brian Exp $ + * $Id: arp.c,v 1.4 1999/04/26 08:54:49 brian Exp $ * */ @@ -37,10 +37,10 @@ #include <netinet/ip.h> #include <sys/un.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/errno.h> #include <sys/sysctl.h> #include <unistd.h> diff --git a/usr.sbin/ppp/ppp/defs.c b/usr.sbin/ppp/ppp/defs.c index f553e87932f..ce60d29f59d 100644 --- a/usr.sbin/ppp/ppp/defs.c +++ b/usr.sbin/ppp/ppp/defs.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: defs.c,v 1.3 1999/02/25 20:07:36 brian Exp $ + * $Id: defs.c,v 1.4 1999/04/26 08:54:50 brian Exp $ */ @@ -34,9 +34,9 @@ #include <sys/socket.h> #include <ctype.h> +#include <errno.h> #include <stdlib.h> #include <string.h> -#include <sys/errno.h> #if !defined(__FreeBSD__) || __FreeBSD__ < 3 #include <time.h> #endif diff --git a/usr.sbin/ppp/ppp/iface.c b/usr.sbin/ppp/ppp/iface.c index f6488633e2e..3de535c4958 100644 --- a/usr.sbin/ppp/ppp/iface.c +++ b/usr.sbin/ppp/ppp/iface.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iface.c,v 1.2 1999/02/06 03:22:37 brian Exp $ + * $Id: iface.c,v 1.3 1999/04/26 08:54:50 brian Exp $ */ #include <sys/param.h> @@ -37,12 +37,12 @@ #include <netinet/ip.h> #include <sys/un.h> -#include <sys/errno.h> -#include <sys/ioctl.h> -#include <sys/sysctl.h> +#include <errno.h> #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <sys/ioctl.h> +#include <sys/sysctl.h> #include <termios.h> #include <unistd.h> diff --git a/usr.sbin/ppp/ppp/ipcp.c b/usr.sbin/ppp/ppp/ipcp.c index 57bb138bd0a..6a01a72a7b2 100644 --- a/usr.sbin/ppp/ppp/ipcp.c +++ b/usr.sbin/ppp/ppp/ipcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.c,v 1.9 1999/03/03 23:01:10 brian Exp $ + * $Id: ipcp.c,v 1.10 1999/04/26 08:54:50 brian Exp $ * * TODO: * o More RFC1772 backward compatibility @@ -32,11 +32,11 @@ #include <netdb.h> #include <sys/un.h> +#include <errno.h> #include <fcntl.h> #include <resolv.h> #include <stdlib.h> #include <string.h> -#include <sys/errno.h> #include <termios.h> #include <unistd.h> diff --git a/usr.sbin/ppp/ppp/tun.c b/usr.sbin/ppp/ppp/tun.c index 326b8507d57..ca6d086c87a 100644 --- a/usr.sbin/ppp/ppp/tun.c +++ b/usr.sbin/ppp/ppp/tun.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: tun.c,v 1.3 1999/02/06 03:22:49 brian Exp $ + * $Id: tun.c,v 1.4 1999/04/26 08:54:50 brian Exp $ */ #include <sys/param.h> @@ -36,9 +36,9 @@ #include <netinet/ip.h> #include <sys/un.h> +#include <errno.h> #include <string.h> #include <sys/ioctl.h> -#include <sys/errno.h> #include "mbuf.h" #include "log.h" |