about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-03 13:22:19 -0600
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-03 13:29:10 -0600
commitd7ad2d9bad88dd2ef4498cded81b3e2adca68af8 (patch)
tree5bfe8e0b84aef1fdc5d4a3efa82844bd7eb86683 /sysdeps/powerpc/powerpc64/multiarch
parentdc810f37785201905de42cc00e062378cb1799cf (diff)
downloadglibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.tar.gz
glibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.tar.xz
glibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.zip
PowerPC: Fix compiler warnings
This patch fixes some compile warnings related to extra tokens at
end of #undef directive from multilib patchset.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/wcscpy.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
index 0492bafb44..ad00f98faa 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
@@ -33,7 +33,7 @@
   TRACEBACK(__strcasecmp_power7)				\
   END_2(__strcasecmp_power7)
 
-#undef weak_alias(name, alias)
+#undef weak_alias
 #define weak_alias(name, alias)
 
 #undef libc_hidden_builtin_def
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
index a65949f2bf..81ec696857 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
@@ -33,7 +33,7 @@
   TRACEBACK(__strcasecmp_l_power7)				\
   END_2(__strcasecmp_l_power7)
 
-#undef weak_alias(name, alias)
+#undef weak_alias
 #define weak_alias(name, alias)
 
 #undef libc_hidden_builtin_def
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
index 30e29cda7e..057e5a8d2d 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
@@ -35,7 +35,7 @@
 
 #undef libc_hidden_builtin_def
 #define libc_hidden_builtin_def(name)
-#undef weak_alias(name, alias)
+#undef weak_alias
 #define weak_alias(name, alias)
 
 #include <sysdeps/powerpc/powerpc64/power7/strnlen.S>
diff --git a/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c b/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
index f04298a7a2..5c0a6d339c 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
@@ -33,4 +33,4 @@ libc_ifunc (wcscpy,
              : __wcscpy_ppc);
 #else
 #include <wcsmbs/wcscpy.c>
-#endif:
+#endif