From 87843f15168b086d3f6d255ebfe311e314560004 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Aug 1999 22:20:38 +0000 Subject: Update. 1999-08-08 Ulrich Drepper * 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. --- sysdeps/i386/i486/bits/string.h | 58 ++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'sysdeps') 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; })) -- cgit v1.1