From ce8ee8d9b401c9c2828df3457815c2f4ceed4900 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Wed, 11 Jul 2001 13:47:45 +0000 Subject: Added __BEGIN_DECLS and __END_DECLS to the files that didn't have it and that I could see needed it. Should be pretty low impact as these are only defined when using C++. --- include/net/slcompress.h | 6 +++++- include/net/vjcompress.h | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'include/net') diff --git a/include/net/slcompress.h b/include/net/slcompress.h index 658edb7f8..fc3b000a9 100644 --- a/include/net/slcompress.h +++ b/include/net/slcompress.h @@ -1,7 +1,7 @@ /* * Definitions for tcp compression routines. * - * $Id: slcompress.h,v 1.1 2001/01/16 10:03:48 andersen Exp $ + * $Id: slcompress.h,v 1.2 2001/07/11 13:47:42 davidm Exp $ * * Copyright (c) 1989 Regents of the University of California. * All rights reserved. @@ -137,6 +137,8 @@ struct slcompress { /* flag values */ #define SLF_TOSS 1 /* tossing rcvd frames because of input err */ +__BEGIN_DECLS + void sl_compress_init __P((struct slcompress *)); void sl_compress_setup __P((struct slcompress *, int)); u_int sl_compress_tcp __P((struct mbuf *, @@ -145,4 +147,6 @@ int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); int sl_uncompress_tcp_core __P((u_char *, int, int, u_int, struct slcompress *, u_char **, u_int *)); +__END_DECLS + #endif /* _SLCOMPRESS_H_ */ diff --git a/include/net/vjcompress.h b/include/net/vjcompress.h index 83785b277..c792fe5e7 100644 --- a/include/net/vjcompress.h +++ b/include/net/vjcompress.h @@ -1,7 +1,7 @@ /* * Definitions for tcp compression routines. * - * $Id: vjcompress.h,v 1.1 2001/01/16 10:03:48 andersen Exp $ + * $Id: vjcompress.h,v 1.2 2001/07/11 13:47:42 davidm Exp $ * * Copyright (c) 1989 Regents of the University of California. * All rights reserved. @@ -130,6 +130,8 @@ struct vjcompress { /* flag values */ #define VJF_TOSS 1 /* tossing rcvd frames because of input err */ +__BEGIN_DECLS + extern void vj_compress_init __P((struct vjcompress *comp, int max_state)); extern u_int vj_compress_tcp __P((struct ip *ip, u_int mlen, struct vjcompress *comp, int compress_cid_flag, @@ -141,4 +143,6 @@ extern int vj_uncompress_tcp __P((u_char *buf, int buflen, int total_len, struct vjcompress *comp, u_char **hdrp, u_int *hlenp)); +__END_DECLS + #endif /* _VJCOMPRESS_H_ */ -- cgit v1.2.3