[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:
Родитель
52609c0b56
Коммит
b8259d9ad1
|
@ -170,19 +170,14 @@ struct slcompress {
|
||||||
};
|
};
|
||||||
#define NULLSLCOMPR (struct slcompress *)0
|
#define NULLSLCOMPR (struct slcompress *)0
|
||||||
|
|
||||||
#define __ARGS(x) x
|
|
||||||
|
|
||||||
/* In slhc.c: */
|
/* In slhc.c: */
|
||||||
struct slcompress *slhc_init __ARGS((int rslots, int tslots));
|
struct slcompress *slhc_init(int rslots, int tslots);
|
||||||
void slhc_free __ARGS((struct slcompress *comp));
|
void slhc_free(struct slcompress *comp);
|
||||||
|
|
||||||
int slhc_compress __ARGS((struct slcompress *comp, unsigned char *icp,
|
int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize,
|
||||||
int isize, unsigned char *ocp, unsigned char **cpp,
|
unsigned char *ocp, unsigned char **cpp, int compress_cid);
|
||||||
int compress_cid));
|
int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize);
|
||||||
int slhc_uncompress __ARGS((struct slcompress *comp, unsigned char *icp,
|
int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize);
|
||||||
int isize));
|
int slhc_toss(struct slcompress *comp);
|
||||||
int slhc_remember __ARGS((struct slcompress *comp, unsigned char *icp,
|
|
||||||
int isize));
|
|
||||||
int slhc_toss __ARGS((struct slcompress *comp));
|
|
||||||
|
|
||||||
#endif /* _SLHC_H */
|
#endif /* _SLHC_H */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче