projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove redundant AC_SUBST invocation.
[gnulib.git]
/
tests
/
test-rawmemchr.c
diff --git
a/tests/test-rawmemchr.c
b/tests/test-rawmemchr.c
index
f1eef2c
..
9476818
100644
(file)
--- a/
tests/test-rawmemchr.c
+++ b/
tests/test-rawmemchr.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2008, 2009
Free Software Foundation
+ * Copyright (C) 2008, 2009
, 2010 Free Software Foundation, Inc.
* Written by Eric Blake and Bruno Haible
*
* This program is free software: you can redistribute it and/or modify
* Written by Eric Blake and Bruno Haible
*
* This program is free software: you can redistribute it and/or modify
@@
-22,20
+22,9
@@
#include "signature.h"
SIGNATURE_CHECK (rawmemchr, void *, (void const *, int));
#include "signature.h"
SIGNATURE_CHECK (rawmemchr, void *, (void const *, int));
-#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
/* Calculating void * + int is not portable, so this wrapper converts
to char * to make the tests easier to write. */
/* Calculating void * + int is not portable, so this wrapper converts
to char * to make the tests easier to write. */