diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-08 08:49:54 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-08 09:16:12 -0500 |
commit | e7f95bb5f0da035f0af98804e3ee4a8a88135623 (patch) | |
tree | ca3f3e89a6f886e999d5047f622946fc2c9d20c0 /sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c | |
parent | 91f4b564bd7bedcd93e7047cad570ce292d6330b (diff) | |
download | glibc-e7f95bb5f0da035f0af98804e3ee4a8a88135623.tar.gz glibc-e7f95bb5f0da035f0af98804e3ee4a8a88135623.tar.xz glibc-e7f95bb5f0da035f0af98804e3ee4a8a88135623.zip |
PowerPC: Fix compiler warnings
This patch fixes some compiler due trailing data in #undef directives and due missing prototypes.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c b/sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c index ba9a46090f..628f8bd7a3 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c +++ b/sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c @@ -22,7 +22,9 @@ #undef libc_hidden_def #define libc_hidden_def(name) +extern typeof (strcpy) __strcpy_power7; +extern typeof (strlen) __strlen_power7; + #define strcpy __strcpy_power7 #define strlen __strlen_power7 - #include <sysdeps/powerpc/strcat.c> |