This patch fixes implicit declaration of function strdup, strtok,
strcoll, strchr and removes unused variable res.
ChangeLog:
* benchtests/bench-strcoll.c:
Include string.h.
(main): Remove unused variable res.
2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
+ * benchtests/bench-strcoll.c:
+ Include string.h.
+ (main): Remove unused variable res.
+
+2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
+
* timezone/Makefile (%/UTC %/Universal):
Generate test-result files for UTC and Universal.
#include <unistd.h>
#include "json-lib.h"
#include "bench-timing.h"
+#include <string.h>
/* Many thanks to http://generator.lorem-ipsum.info/ */
#define INPUT_PREFIX "strcoll-inputs/"
int
main (void)
{
- timing_t res;
- TIMING_INIT (res);
-
json_ctx_t *json_ctx = malloc (sizeof (json_ctx_t));
assert (json_ctx != NULL);
json_init (json_ctx, 2, stdout);