lkml.org 
[lkml]   [2004]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] trivial patch for 2.4: always inline __constant_*

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean