projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sigpipe-die: use stdnoreturn.h
[gnulib.git]
/
tests
/
test-memcmp.c
diff --git
a/tests/test-memcmp.c
b/tests/test-memcmp.c
index
463ca0c
..
4790179
100644
(file)
--- a/
tests/test-memcmp.c
+++ b/
tests/test-memcmp.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2008-20
09 Free Software Foundation
+ * Copyright (C) 2008-20
11 Free Software Foundation, Inc.
* Written by Simon Josefsson
*
* This program is free software: you can redistribute it and/or modify
* Written by Simon Josefsson
*
* This program is free software: you can redistribute it and/or modify
@@
-22,22
+22,8
@@
#include "signature.h"
SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t));
#include "signature.h"
SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t));
-#include <stdio.h>
-#include <stdlib.h>
-
#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)