]> git.sur5r.net Git - openldap/blobdiff - include/ac/string.h
Unexpand spaces for tabs in prior commit before merging to rel_eng_1_1.
[openldap] / include / ac / string.h
index 2b407e7eb34d518bc082273ecdbbe31fbbc0a9da..6a64074e6fa8623f69b6726897825767398ca3a4 100644 (file)
@@ -28,8 +28,8 @@
 #      endif
 
 #      ifndef HAVE_MEMCPY
-#              define memcpy(d, s, n)                  bcopy ((s), (d), (n))
-#              define memmove(d, s, n)                 bcopy ((s), (d), (n))
+#              define memcpy(d, s, n)          ((void) bcopy ((s), (d), (n)))
+#              define memmove(d, s, n)         ((void) bcopy ((s), (d), (n)))
 #      endif
 #endif
 
        /* strdup() is missing, declare our own version */
        extern char *strdup( const char *s );
 #else
-       /* some systems fail to declare strdup altogether */
+       /* some systems have strdup, but fail to declare it */
        extern char *strdup();
 #endif
 
 /*
  * some systems fail to declare strcasecmp() and strncasecmp()
- * we need them defined so we obtain pointers to them
+ * we need them declared so we can obtain pointers to them
  */
 extern int strcasecmp(), strncasecmp();