summaryrefslogtreecommitdiff
path: root/tests/test-freadptr2.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /tests/test-freadptr2.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'tests/test-freadptr2.c')
-rw-r--r--tests/test-freadptr2.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/test-freadptr2.c b/tests/test-freadptr2.c
index c2922783b6..e6f534834e 100644
--- a/tests/test-freadptr2.c
+++ b/tests/test-freadptr2.c
@@ -25,15 +25,15 @@
#include <unistd.h>
#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
+ do \
+ { \
+ if (!(expr)) \
+ { \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
static int
@@ -60,12 +60,12 @@ main (int argc, char **argv)
else
{
if (lseek (0, 0, SEEK_CUR) == nbytes)
- /* An unbuffered stdio, such as BeOS or on uClibc compiled without
- __STDIO_BUFFERS. */
- ASSERT (freadptrbufsize (stdin) == 0);
+ /* An unbuffered stdio, such as BeOS or on uClibc compiled without
+ __STDIO_BUFFERS. */
+ ASSERT (freadptrbufsize (stdin) == 0);
else
- /* Normal buffered stdio. */
- ASSERT (freadptrbufsize (stdin) != 0);
+ /* Normal buffered stdio. */
+ ASSERT (freadptrbufsize (stdin) != 0);
}
return 0;