kcalloc prototype [Was: + some-kmalloc-memset-kzalloc-tree-wide.patchadded to -mm tree]

From: Jiri Slaby
Date: Sat Jul 07 2007 - 18:05:39 EST


yoann padioleau napsal(a):
>> static inline void *kcalloc(size_t n, size_t size, gfp_t flags)
>
> you are right, but why the type of kcalloc is not
> static inline void *kcalloc(int n, size_t size, gfp_t flags) ?

Maybe C89 calloc prototype...

--
Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/