mirror of
https://gitee.com/openharmony/kernel_linux
synced 2024-12-14 18:30:40 +00:00
[NET]: Remove __ARGS from include/net/slhc_vj.h
I suspect "#define __ARGS(x) ()" was deprecated before I was born. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
52609c0b56
commit
b8259d9ad1
@ -170,19 +170,14 @@ struct slcompress {
|
||||
};
|
||||
#define NULLSLCOMPR (struct slcompress *)0
|
||||
|
||||
#define __ARGS(x) x
|
||||
|
||||
/* In slhc.c: */
|
||||
struct slcompress *slhc_init __ARGS((int rslots, int tslots));
|
||||
void slhc_free __ARGS((struct slcompress *comp));
|
||||
struct slcompress *slhc_init(int rslots, int tslots);
|
||||
void slhc_free(struct slcompress *comp);
|
||||
|
||||
int slhc_compress __ARGS((struct slcompress *comp, unsigned char *icp,
|
||||
int isize, unsigned char *ocp, unsigned char **cpp,
|
||||
int compress_cid));
|
||||
int slhc_uncompress __ARGS((struct slcompress *comp, unsigned char *icp,
|
||||
int isize));
|
||||
int slhc_remember __ARGS((struct slcompress *comp, unsigned char *icp,
|
||||
int isize));
|
||||
int slhc_toss __ARGS((struct slcompress *comp));
|
||||
int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize,
|
||||
unsigned char *ocp, unsigned char **cpp, int compress_cid);
|
||||
int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize);
|
||||
int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize);
|
||||
int slhc_toss(struct slcompress *comp);
|
||||
|
||||
#endif /* _SLHC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user