]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - benchtests/bench-memset-large.c
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / benchtests / bench-memset-large.c
index 248289108ba499c8a5f0ee3ed4f705fa1f730c0a..d99f0a24aab3730274dcf22c1e37706bfc4d0b0d 100644 (file)
@@ -1,5 +1,5 @@
 /* Measure memset functions with large data sizes.
-   Copyright (C) 2016-2018 Free Software Foundation, Inc.
+   Copyright (C) 2016-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #include "bench-string.h"
 
 #ifndef WIDE
-# define MEMSET memset
-# define CHAR char
 # define SIMPLE_MEMSET simple_memset
-# define MEMCMP memcmp
 #else
-# include <wchar.h>
-# define MEMSET wmemset
-# define CHAR wchar_t
 # define SIMPLE_MEMSET simple_wmemset
-# define MEMCMP wmemcmp
 #endif /* WIDE */
 
 #include <assert.h>
@@ -92,7 +85,7 @@ do_test (json_ctx_t *json_ctx, size_t align, int c, size_t len)
   FOR_EACH_IMPL (impl, 0)
     {
       do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len);
-      realloc_bufs ();
+      alloc_bufs ();
     }
 
   json_array_end (json_ctx);