projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for MSVC compiler: Ensure mode_t gets defined.
[gnulib.git]
/
tests
/
test-strchrnul.c
diff --git
a/tests/test-strchrnul.c
b/tests/test-strchrnul.c
index
ea882e5
..
6ea8adc
100644
(file)
--- a/
tests/test-strchrnul.c
+++ b/
tests/test-strchrnul.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2008
, 2009 Free Software Foundation
+ * Copyright (C) 2008
-2011 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
@@
-19,20
+19,12
@@
#include <string.h>
#include <string.h>
-#include <stdio.h>
+#include "signature.h"
+SIGNATURE_CHECK (strchrnul, char *, (char const *, int));
+
#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"
int
main (void)
int
main (void)