Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Alexey Dobriyan and committed by
David S. Miller
b8259d9a 52609c0b

+7 -12
+7 -12
include/net/slhc_vj.h
··· 170 170 }; 171 171 #define NULLSLCOMPR (struct slcompress *)0 172 172 173 - #define __ARGS(x) x 174 - 175 173 /* In slhc.c: */ 176 - struct slcompress *slhc_init __ARGS((int rslots, int tslots)); 177 - void slhc_free __ARGS((struct slcompress *comp)); 174 + struct slcompress *slhc_init(int rslots, int tslots); 175 + void slhc_free(struct slcompress *comp); 178 176 179 - int slhc_compress __ARGS((struct slcompress *comp, unsigned char *icp, 180 - int isize, unsigned char *ocp, unsigned char **cpp, 181 - int compress_cid)); 182 - int slhc_uncompress __ARGS((struct slcompress *comp, unsigned char *icp, 183 - int isize)); 184 - int slhc_remember __ARGS((struct slcompress *comp, unsigned char *icp, 185 - int isize)); 186 - int slhc_toss __ARGS((struct slcompress *comp)); 177 + int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, 178 + unsigned char *ocp, unsigned char **cpp, int compress_cid); 179 + int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize); 180 + int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize); 181 + int slhc_toss(struct slcompress *comp); 187 182 188 183 #endif /* _SLHC_H */