projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint: change "a a" to "a"
[gnulib.git]
/
lib
/
memmove.c
diff --git
a/lib/memmove.c
b/lib/memmove.c
index
753c899
..
0f04054
100644
(file)
--- a/
lib/memmove.c
+++ b/
lib/memmove.c
@@
-3,9
+3,7
@@
In the public domain.
By David MacKenzie <djm@gnu.ai.mit.edu>. */
In the public domain.
By David MacKenzie <djm@gnu.ai.mit.edu>. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include <stddef.h>
#include <stddef.h>
@@
-22,7
+20,7
@@
memmove (void *dest0, void const *source0, size_t length)
{
/* Moving from hi mem to low mem; start at beginning. */
for (; length; --length)
{
/* Moving from hi mem to low mem; start at beginning. */
for (; length; --length)
- *dest++ = *source++;
+
*dest++ = *source++;
}
return dest0;
}
}
return dest0;
}