summaryrefslogtreecommitdiff
path: root/NeXT/vjcompress.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1997-04-30 05:39:44 +0000
committerPaul Mackerras <paulus@samba.org>1997-04-30 05:39:44 +0000
commitffed4c0be3569ea9c8901f66e67e289c11922692 (patch)
treefbee7794c6b10e5f4b0a14a7540dbfd0ae7aa9b6 /NeXT/vjcompress.c
parent2e5bd580090480746b8193eb83f2cec41552d28f (diff)
downloadppp-ffed4c0be3569ea9c8901f66e67e289c11922692.tar.gz
updates from Steve Perkins
Diffstat (limited to 'NeXT/vjcompress.c')
-rw-r--r--NeXT/vjcompress.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/NeXT/vjcompress.c b/NeXT/vjcompress.c
index 0a0a29a..cbbab89 100644
--- a/NeXT/vjcompress.c
+++ b/NeXT/vjcompress.c
@@ -26,16 +26,16 @@
*/
/*
- * This version is used under SunOS 4.x, DEC Alpha OSF/1, AIX 4.x,
+ * This version is used under SunOS 4.x, Digital UNIX, AIX 4.x,
* and SVR4 systems including Solaris 2.
*
- * $Id: vjcompress.c,v 1.2 1996/05/24 07:04:06 paulus Exp $
+ * $Id: vjcompress.c,v 1.3 1997/04/30 05:39:44 paulus Exp $
*/
#include <sys/types.h>
#include <sys/param.h>
-#ifdef __svr4__
+#ifdef SVR4
#ifndef __GNUC__
#include <sys/byteorder.h> /* for ntohl, etc. */
#else
@@ -49,7 +49,7 @@
#endif
#include <netinet/in.h>
-#ifdef __aix4__
+#ifdef AIX4
#define _NETINET_IN_SYSTM_H_
typedef u_long n_long;
#else
@@ -430,8 +430,9 @@ vj_uncompress_err(comp)
* "Uncompress" a packet of type TYPE_UNCOMPRESSED_TCP.
*/
int
-vj_uncompress_uncomp(buf, comp)
+vj_uncompress_uncomp(buf, buflen, comp)
u_char *buf;
+ int buflen;
struct vjcompress *comp;
{
register u_int hlen;