aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i486
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-08 22:20:38 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-08 22:20:38 +0000
commit87843f15168b086d3f6d255ebfe311e314560004 (patch)
treece4fa30eaf5581e7f0eb08a0def89c3e9504d568 /sysdeps/i386/i486
parent754549b3bed222fd15d748605143e5925296a7fc (diff)
downloadglibc-87843f15168b086d3f6d255ebfe311e314560004.zip
glibc-87843f15168b086d3f6d255ebfe311e314560004.tar.gz
glibc-87843f15168b086d3f6d255ebfe311e314560004.tar.bz2
Update.
1999-08-08 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h: Mark void* operations as extensions. * sysdeps/i386/i486/bits/string.h: Likewise. * debug/Makefile (routines): Add noophooks. (extra-libs): Add libpcprofile. Add rules to build libpcprofile. * debug/noophooks.c: New file. * debug/pcprofile.c: New file.
Diffstat (limited to 'sysdeps/i386/i486')
-rw-r--r--sysdeps/i386/i486/bits/string.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/sysdeps/i386/i486/bits/string.h b/sysdeps/i386/i486/bits/string.h
index 8857a71..644967c 100644
--- a/sysdeps/i386/i486/bits/string.h
+++ b/sysdeps/i386/i486/bits/string.h
@@ -230,54 +230,54 @@ memcmp (__const void *__s1, __const void *__s2, size_t __n)
{ \
case 15: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 11: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 7: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 3: \
__u->__usi = (unsigned short int) __c; \
- __u = (void *) __u + 2; \
+ __u = __extension__ ((void *) __u + 2); \
__u->__uc = (unsigned char) __c; \
break; \
\
case 14: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 10: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 6: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 2: \
__u->__usi = (unsigned short int) __c; \
break; \
\
case 13: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 9: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 5: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 1: \
__u->__uc = (unsigned char) __c; \
break; \
\
case 16: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 12: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 8: \
__u->__ui = __c; \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
case 4: \
__u->__ui = __c; \
case 0: \
@@ -529,7 +529,7 @@ __strlen_g (__const char *__str)
break; \
case 3: \
__u->__usi = __STRING_SMALL_GET16 (src, 0); \
- __u = (void *) __u + 2; \
+ __u = __extension__ ((void *) __u + 2); \
__u->__uc = '\0'; \
break; \
case 4: \
@@ -537,24 +537,24 @@ __strlen_g (__const char *__str)
break; \
case 5: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__uc = '\0'; \
break; \
case 6: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__usi = __STRING_SMALL_GET16 (src, 4); \
break; \
case 7: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__usi = __STRING_SMALL_GET16 (src, 4); \
- __u = (void *) __u + 2; \
+ __u = __extension__ ((void *) __u + 2); \
__u->__uc = '\0'; \
break; \
case 8: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__ui = __STRING_SMALL_GET32 (src, 4); \
break; \
} \
@@ -616,40 +616,40 @@ __strcpy_g (char *__dest, __const char *__src)
break; \
case 2: \
__u->__usi = __STRING_SMALL_GET16 (src, 0); \
- __u = (void *) __u + 1; \
+ __u = __extension__ ((void *) __u + 1); \
break; \
case 3: \
__u->__usi = __STRING_SMALL_GET16 (src, 0); \
- __u = (void *) __u + 2; \
+ __u = __extension__ ((void *) __u + 2); \
__u->__uc = '\0'; \
break; \
case 4: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 3; \
+ __u = __extension__ ((void *) __u + 3); \
break; \
case 5: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__uc = '\0'; \
break; \
case 6: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__usi = __STRING_SMALL_GET16 (src, 4); \
- __u = (void *) __u + 1; \
+ __u = __extension__ ((void *) __u + 1); \
break; \
case 7: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__usi = __STRING_SMALL_GET16 (src, 4); \
- __u = (void *) __u + 2; \
+ __u = __extension__ ((void *) __u + 2); \
__u->__uc = '\0'; \
break; \
case 8: \
__u->__ui = __STRING_SMALL_GET32 (src, 0); \
- __u = (void *) __u + 4; \
+ __u = __extension__ ((void *) __u + 4); \
__u->__ui = __STRING_SMALL_GET32 (src, 4); \
- __u = (void *) __u + 3; \
+ __u = __extension__ ((void *) __u + 3); \
break; \
} \
(char *) __u; }))