projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtoumax: fix typo in previous commit.
[gnulib.git]
/
tests
/
test-vsprintf-posix.c
diff --git
a/tests/test-vsprintf-posix.c
b/tests/test-vsprintf-posix.c
index
959412f
..
9f35b3c
100644
(file)
--- a/
tests/test-vsprintf-posix.c
+++ b/
tests/test-vsprintf-posix.c
@@
-1,5
+1,5
@@
/* Test of POSIX compatible vsprintf() function.
/* Test of POSIX compatible vsprintf() function.
- Copyright (C) 2007-20
08
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
13
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-20,6
+20,9
@@
#include <stdio.h>
#include <stdio.h>
+#include "signature.h"
+SIGNATURE_CHECK (vsprintf, int, (char *, char const *, va_list));
+
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
@@
-27,18
+30,7
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
#include "test-sprintf-posix.h"
#include "test-sprintf-posix.h"