enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all...
[platform/upstream/net-tools.git] / lib / ppp_ac.c
1 /*
2  * lib/ppp_ac.c       This file contains the activation for the
3  *              PPP line disciplines, called from activate_ld().
4  *
5  * Version:     $Id: ppp_ac.c,v 1.3 1998/11/15 20:11:50 freitag Exp $
6  *
7  * Author:      Bernd 'eckes' Eckenfels
8  *
9  *              This program is free software; you can redistribute it
10  *              and/or  modify it under  the terms of  the GNU General
11  *              Public  License as  published  by  the  Free  Software
12  *              Foundation;  either  version 2 of the License, or  (at
13  *              your option) any later version.
14  */
15 #include "config.h"
16
17 #if HAVE_HWPPP
18
19 #include <sys/types.h>
20 #include <sys/ioctl.h>
21 #include <sys/socket.h>
22 #include <net/if_arp.h>
23 #include <stdlib.h>
24 #include <stdio.h>
25 #include <ctype.h>
26 #include <errno.h>
27 #include <fcntl.h>
28 #include <string.h>
29 #include <termios.h>
30 #include <unistd.h>
31 #include "net-support.h"
32 #include "pathnames.h"
33 #include "intl.h"
34
35 /* Start the VJ-SLIP encapsulation on the file descriptor. */
36 int PPP_activate(int fd)
37 {
38     fprintf(stderr, _("Sorry, use pppd!\n"));   /* FIXME */
39     return (-1);
40 }
41
42 #endif                          /* HAVE_HWPPP */