projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unistr/u16-stpncpy'.
[gnulib.git]
/
tests
/
test-memcmp.c
diff --git
a/tests/test-memcmp.c
b/tests/test-memcmp.c
index
8740316
..
48cf40d
100644
(file)
--- a/
tests/test-memcmp.c
+++ b/
tests/test-memcmp.c
@@
-19,22
+19,11
@@
#include <string.h>
#include <string.h>
-#include
<stdio.h>
-#include <stdlib.h>
+#include
"signature.h"
+SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t));
#include "zerosize-ptr.h"
#include "zerosize-ptr.h"
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
int
main (void)
int
main (void)