projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve ChangeLog to summarize _Noreturn better.
[pspp]
/
tests
/
test-xfprintf-posix.c
diff --git
a/tests/test-xfprintf-posix.c
b/tests/test-xfprintf-posix.c
index b7adf76a4c6958dc48d79e66d833da3d30548345..e766f46a0f42f8c7edebb36ca61095dd254bf464 100644
(file)
--- a/
tests/test-xfprintf-posix.c
+++ b/
tests/test-xfprintf-posix.c
@@
-1,5
+1,5
@@
/* Test of error-checking xfprintf() function with POSIX compatible formatting.
/* Test of error-checking xfprintf() function with POSIX compatible formatting.
- Copyright (C) 2007-20
09
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
11
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
@@
-22,24
+22,11
@@
#include <stdarg.h>
#include <stddef.h>
#include <stdarg.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdint.h>
#include <stdint.h>
-#include <stdlib.h>
#include <string.h>
#include "progname.h"
#include <string.h>
#include "progname.h"
-
-#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-fprintf-posix.h"
#include "test-fprintf-posix.h"