diff options
author | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
---|---|---|
committer | James Carlson <carlsonj@workingcode.com> | 2004-01-17 05:47:55 +0000 |
commit | a75742c5e72fa5718e57d77586887d58755feebe (patch) | |
tree | 7de758269e3b87001fab4d807a2c9cc36804ee5f /pppdump | |
parent | 3f5640f901a83dd41367b8cdeeaa90222f3c967a (diff) | |
download | ppp-a75742c5e72fa5718e57d77586887d58755feebe.tar.gz |
Fixed compilation failure on Solaris due to new CHAP (missing chap-md5.o
in makefile).
Updated ppp_mod so that it will work with Solaris 10 and beyond
(identify entry point is now obsolete).
Fixed warnings in chat, bsd-comp, deflate, vjcompress, chap-new,
sys-solaris, tty, pppdump, ppp_comp.
Diffstat (limited to 'pppdump')
-rw-r--r-- | pppdump/bsd-comp.c | 4 | ||||
-rw-r--r-- | pppdump/deflate.c | 4 | ||||
-rw-r--r-- | pppdump/pppdump.c | 11 |
3 files changed, 17 insertions, 2 deletions
diff --git a/pppdump/bsd-comp.c b/pppdump/bsd-comp.c index 17c1e3b..1413326 100644 --- a/pppdump/bsd-comp.c +++ b/pppdump/bsd-comp.c @@ -38,12 +38,14 @@ */ /* - * $Id: bsd-comp.c,v 1.3 1999/04/16 11:35:59 paulus Exp $ + * $Id: bsd-comp.c,v 1.4 2004/01/17 05:47:55 carlsonj Exp $ */ #include <sys/types.h> +#include <stdio.h> #include <stddef.h> #include <stdlib.h> +#include <string.h> #include "ppp_defs.h" #include "ppp-comp.h" diff --git a/pppdump/deflate.c b/pppdump/deflate.c index 3922025..0136966 100644 --- a/pppdump/deflate.c +++ b/pppdump/deflate.c @@ -33,12 +33,14 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: deflate.c,v 1.4 2002/12/06 09:49:16 paulus Exp $ + * $Id: deflate.c,v 1.5 2004/01/17 05:47:55 carlsonj Exp $ */ #include <sys/types.h> +#include <stdio.h> #include <stddef.h> #include <stdlib.h> +#include <string.h> #include "ppp_defs.h" #include "ppp-comp.h" #include "zlib.h" diff --git a/pppdump/pppdump.c b/pppdump/pppdump.c index a65a152..95e692c 100644 --- a/pppdump/pppdump.c +++ b/pppdump/pppdump.c @@ -35,6 +35,7 @@ */ #include <stdio.h> #include <unistd.h> +#include <stdlib.h> #include <time.h> #include <sys/types.h> #include "ppp_defs.h" @@ -53,6 +54,12 @@ int tot_sent, tot_rcvd; extern int optind; extern char *optarg; +void dumplog(); +void dumpppp(); +void show_time(); +void handle_ccp(); + +int main(ac, av) int ac; char **av; @@ -105,6 +112,7 @@ main(ac, av) exit(0); } +void dumplog(f) FILE *f; { @@ -244,6 +252,7 @@ struct pkt { unsigned char dbuf[8192]; +void dumpppp(f) FILE *f; { @@ -429,6 +438,7 @@ struct compressor *compressors[] = { NULL }; +void handle_ccp(cp, dp, len) struct pkt *cp; u_char *dp; @@ -485,6 +495,7 @@ handle_ccp(cp, dp, len) } } +void show_time(f, c) FILE *f; int c; |