Re: [PATCH] trivial patch for 2.4: always inline __constant_*

From: Marcelo Tosatti
Date: Sat Sep 18 2004 - 12:52:50 EST



Applied, thanks Denis.

> Most of them can be fixed with a single #include <compiler.h>
> in <string.h>. Along the way, I fixed some non-compilation buglets.
> I will submit those patches as replies now.
> --
> vda

> diff -urpN linux-2.4.27-pre3.org/include/linux/string.h linux-2.4.27-pre3.fix/include/linux/string.h
> --- linux-2.4.27-pre3.org/include/linux/string.h Sat Sep 18 16:52:10 2004
> +++ linux-2.4.27-pre3.fix/include/linux/string.h Fri Sep 17 23:19:23 2004
> @@ -7,6 +7,7 @@
>
> #include <linux/types.h> /* for size_t */
> #include <linux/stddef.h> /* for NULL */
> +#include <linux/compiler.h> /* for inline ((always_inline)) */
>
> #ifdef __cplusplus
> extern "C" {

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