diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-08 22:20:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-08 22:20:38 +0000 |
commit | 87843f15168b086d3f6d255ebfe311e314560004 (patch) | |
tree | ce4fa30eaf5581e7f0eb08a0def89c3e9504d568 /string/bits/string2.h | |
parent | 754549b3bed222fd15d748605143e5925296a7fc (diff) | |
download | glibc-87843f15168b086d3f6d255ebfe311e314560004.tar.gz glibc-87843f15168b086d3f6d255ebfe311e314560004.tar.xz glibc-87843f15168b086d3f6d255ebfe311e314560004.zip |
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 'string/bits/string2.h')
-rw-r--r-- | string/bits/string2.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/string/bits/string2.h b/string/bits/string2.h index 4d27a4488d..902e924cb0 100644 --- a/string/bits/string2.h +++ b/string/bits/string2.h @@ -122,54 +122,54 @@ __STRING2_COPY_TYPE (8); { \ case 15: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 11: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 7: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 3: \ __u->__usi = (unsigned short int) __c * 0x0101; \ - __u = (void *) __u + 2; \ + __u = __extension__ ((void *) __u + 2); \ __u->__uc = (unsigned char) __c; \ break; \ \ case 14: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 10: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 6: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 2: \ __u->__usi = (unsigned short int) __c * 0x0101; \ break; \ \ case 13: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 9: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 5: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 1: \ __u->__uc = (unsigned char) __c; \ break; \ \ case 16: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 12: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 8: \ __u->__ui = __c * 0x01010101; \ - __u = (void *) __u + 4; \ + __u = __extension__ ((void *) __u + 4); \ case 4: \ __u->__ui = __c * 0x01010101; \ case 0: \ @@ -234,47 +234,47 @@ __mempcpy_small (void *__dest1, { case 1: __u->__c = __src0_1; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 2: __u->__usi = __src0_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); break; case 3: __u->__usi = __src0_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__c = __src2_1; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 4: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); break; case 5: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__c = __src4_1; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 6: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); break; case 7: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__c = __src6_1; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 8: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__ui = __src4_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); break; } return (void *) __u; @@ -415,7 +415,7 @@ __strcpy_small (char *__dest, break; case 3: __u->__usi = __src0_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__uc = '\0'; break; case 4: @@ -423,24 +423,24 @@ __strcpy_small (char *__dest, break; case 5: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__uc = '\0'; break; case 6: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; break; case 7: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__uc = '\0'; break; case 8: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__ui = __src4_4; break; } @@ -571,40 +571,40 @@ __stpcpy_small (char *__dest, break; case 2: __u->__usi = __src0_2; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 3: __u->__usi = __src0_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__uc = '\0'; break; case 4: __u->__ui = __src0_4; - __u = (void *) __u + 3; + __u = __extension__ ((void *) __u + 3); break; case 5: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__uc = '\0'; break; case 6: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; - __u = (void *) __u + 1; + __u = __extension__ ((void *) __u + 1); break; case 7: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__usi = __src4_2; - __u = (void *) __u + 2; + __u = __extension__ ((void *) __u + 2); __u->__uc = '\0'; break; case 8: __u->__ui = __src0_4; - __u = (void *) __u + 4; + __u = __extension__ ((void *) __u + 4); __u->__ui = __src4_4; - __u = (void *) __u + 3; + __u = __extension__ ((void *) __u + 3); break; } return &__u->__uc; |