about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-09 20:58:54 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-09 20:58:54 +0000
commitc2fa5b5a4f4d2f0f71918f4cd8b5b67a26d4b72c (patch)
tree3682f88638ed44e98e8c0d0c284d209d822b1804 /sysdeps/i386
parenta828c2f5332fbee41968ccc57115d0d8fc105b85 (diff)
downloadglibc-c2fa5b5a4f4d2f0f71918f4cd8b5b67a26d4b72c.tar.gz
glibc-c2fa5b5a4f4d2f0f71918f4cd8b5b67a26d4b72c.tar.xz
glibc-c2fa5b5a4f4d2f0f71918f4cd8b5b67a26d4b72c.zip
Update.
1999-07-09  Cristian Gafton  <gafton@redhat.com>

	* nscd/nscd_gethst_r.c (nscd_gethst_r): Make sure
	resultbuf->h_addr_list addresses are correctly aligned.

	* sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
	compilers.
	(__memset_cc): Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/bits/string.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/sysdeps/i386/bits/string.h b/sysdeps/i386/bits/string.h
index d67db630f5..1ea0571680 100644
--- a/sysdeps/i386/bits/string.h
+++ b/sysdeps/i386/bits/string.h
@@ -122,17 +122,18 @@ __memcpy_c (void *__dest, __const void *__src, size_t __n)
     {
     case 0:
       __COMMON_CODE ("");
-      return __dest;
+      break;
     case 1:
       __COMMON_CODE ("\n\tmovsb");
-      return __dest;
+      break;
     case 2:
       __COMMON_CODE ("\n\tmovsw");
-      return __dest;
+      break;
     case 3:
       __COMMON_CODE ("\n\tmovsw\n\tmovsb");
-      return __dest;
-    }
+      break;
+  }
+  return __dest;
 #undef __COMMON_CODE
 }
 
@@ -214,17 +215,18 @@ __memset_cc (void *__s, unsigned long int __pattern, size_t __n)
     {
     case 0:
       __COMMON_CODE ("");
-      return __s;
+      break;
     case 1:
       __COMMON_CODE ("\n\tstosb");
-      return __s;
+      break;
     case 2:
       __COMMON_CODE ("\n\tstosw");
-      return __s;
+      break;
     case 3:
       __COMMON_CODE ("\n\tstosw\n\tstosb");
-      return __s;
+      break;
     }
+  return __s;
 #undef __COMMON_CODE
 }