patches/uClibc/0.9.30.2/250-libc-Fix-typo-in-include-rpc.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 18 23:00:46 2011 +0200 (2011-05-18)
changeset 2467 200836977ce6
permissions -rw-r--r--
config: rename variables that are arrays

Make it explicit that a variable is an array bu the name of the variable.
It will be used later when .config gets munged to allow both multiple
arguments and arguments with spaces at the same time to be passed from the
configuration down to the build scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 From b4d6a6e94d87ff2b4ae687a21048833f19b9dd48 Mon Sep 17 00:00:00 2001
     2 From: Carmelo Amoroso <carmelo.amoroso@st.com>
     3 Date: Mon, 8 Feb 2010 16:24:06 +0100
     4 Subject: [PATCH 11/15] libc: Fix typo in include/rpc
     5 
     6 s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/
     7 
     8 Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
     9 Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
    10 ---
    11  include/rpc/auth.h  |    4 ++--
    12  include/rpc/rpc.h   |    4 ++--
    13  include/rpc/types.h |    4 ++--
    14  3 files changed, 6 insertions(+), 6 deletions(-)
    15 
    16 diff --git a/include/rpc/auth.h b/include/rpc/auth.h
    17 index 17eb59f..12297e6 100644
    18 --- a/include/rpc/auth.h
    19 +++ b/include/rpc/auth.h
    20 @@ -47,8 +47,8 @@
    21  #ifndef __FORCE_GLIBC
    22  #define __FORCE_GLIBC
    23  #endif
    24 -#ifndef _GNU_SOUCE
    25 -#define _GNU_SOUCE
    26 +#ifndef _GNU_SOURCE
    27 +#define _GNU_SOURCE
    28  #endif
    29  #define _(X)	X
    30  #endif
    31 diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
    32 index 8194ffe..219910e 100644
    33 --- a/include/rpc/rpc.h
    34 +++ b/include/rpc/rpc.h
    35 @@ -44,8 +44,8 @@
    36  #ifndef __FORCE_GLIBC
    37  #define __FORCE_GLIBC
    38  #endif
    39 -#ifndef _GNU_SOUCE
    40 -#define _GNU_SOUCE
    41 +#ifndef _GNU_SOURCE
    42 +#define _GNU_SOURCE
    43  #endif
    44  #define _(X)	X
    45  #include <features.h>
    46 diff --git a/include/rpc/types.h b/include/rpc/types.h
    47 index 469576e..05f49c3 100644
    48 --- a/include/rpc/types.h
    49 +++ b/include/rpc/types.h
    50 @@ -39,8 +39,8 @@
    51  #ifndef __FORCE_GLIBC
    52  #define __FORCE_GLIBC
    53  #endif
    54 -#ifndef _GNU_SOUCE
    55 -#define _GNU_SOUCE
    56 +#ifndef _GNU_SOURCE
    57 +#define _GNU_SOURCE
    58  #endif
    59  #define _(X)	X
    60  #endif
    61 -- 
    62 1.6.6.1
    63