projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansi-c++-opt: Mention last change in NEWS.
[gnulib.git]
/
tests
/
test-fpending.c
diff --git
a/tests/test-fpending.c
b/tests/test-fpending.c
index
05563f8
..
d79a208
100644
(file)
--- a/
tests/test-fpending.c
+++ b/
tests/test-fpending.c
@@
-1,6
+1,6
@@
/* Ensure that __fpending works.
/* Ensure that __fpending works.
- Copyright (C) 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2007
-2010
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
@@
-24,19
+24,10
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
int
int
-main ()
+main (
void
)
{
ASSERT (__fpending (stdout) == 0);
{
ASSERT (__fpending (stdout) == 0);