projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct name of POSIX.1-2001.
[gnulib.git]
/
tests
/
test-btowc.c
diff --git
a/tests/test-btowc.c
b/tests/test-btowc.c
index
4a19553
..
845fe06
100644
(file)
--- a/
tests/test-btowc.c
+++ b/
tests/test-btowc.c
@@
-1,5
+1,5
@@
/* Test of conversion of unibyte character to wide character.
/* Test of conversion of unibyte character to wide character.
- Copyright (C) 2008
, 2009
Free Software Foundation, Inc.
+ Copyright (C) 2008
-2012
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
@@
-25,19
+25,8
@@
SIGNATURE_CHECK (btowc, wint_t, (int));
#include <locale.h>
#include <stdio.h>
#include <locale.h>
#include <stdio.h>
-#include <stdlib.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[])