projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-version-gen: correct the advice in a comment
[gnulib.git]
/
tests
/
test-fflush2.c
diff --git
a/tests/test-fflush2.c
b/tests/test-fflush2.c
index
da0a760
..
ac2217d
100644
(file)
--- a/
tests/test-fflush2.c
+++ b/
tests/test-fflush2.c
@@
-1,5
+1,5
@@
/* Test of POSIX compatible fflush() function.
/* Test of POSIX compatible fflush() function.
- Copyright (C) 2008-20
09
Free Software Foundation, Inc.
+ Copyright (C) 2008-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
@@
-18,21
+18,8
@@
#include <stdio.h>
#include <stdio.h>
-#include <stdlib.h>
-
#include "binary-io.h"
#include "binary-io.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 (int argc, char **argv)
int
main (int argc, char **argv)