projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324fa92
)
Ensure memcpy is declared.
author
Bruno Haible
<bruno@clisp.org>
Fri, 1 Oct 2004 10:12:23 +0000
(10:12 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Fri, 1 Oct 2004 10:12:23 +0000
(10:12 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/snprintf.c
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index 1bf37832ccb03daa3dcf5dc13e6ba3635c44ba38..f92f90831d01718f17a7c8cc83d19f3c005db1eb 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,3
+1,7
@@
+2004-10-01 Bruno Haible <bruno@clisp.org>
+
+ * snprintf.c: Include <string.h>.
+
2004-09-30 Simon Josefsson <jas@extundo.com>
* snprintf.h, snprintf.c: New files.
diff --git
a/lib/snprintf.c
b/lib/snprintf.c
index 6cc44aa91a9b6424ccb1d057f912b3eee2da843a..417dd33e198b3b28356ed0850fc3db51e84915fe 100644
(file)
--- a/
lib/snprintf.c
+++ b/
lib/snprintf.c
@@
-23,11
+23,14
@@
/* Get specification. */
#include "snprintf.h"
+/* Get memcpy. */
+#include <string.h>
+
/* Get vasnprintf. */
#include "vasnprintf.h"
/* Get MIN. */
-#include
<minmax.h>
+#include
"minmax.h"
/* Print formatted output to string STR. Similar to sprintf, but
additional length SIZE limit how much is written into STR. Returns