X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-nl_langinfo.c;h=ec89b3f7530ffdae0a8fd186b2f92b1435485ef6;hb=ec919e79c7278b5b69aced77c453e5b165accfcf;hp=337e6ecc94e108a4400d64d970f76b107c27f1a2;hpb=9a9d32fbb36e8363c32de6068765829d8232949e;p=gnulib.git diff --git a/tests/test-nl_langinfo.c b/tests/test-nl_langinfo.c index 337e6ecc9..ec89b3f75 100644 --- a/tests/test-nl_langinfo.c +++ b/tests/test-nl_langinfo.c @@ -1,5 +1,5 @@ /* Test of nl_langinfo replacement. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 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 @@ -20,24 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (nl_langinfo, char *, (nl_item)); + #include -#include #include #include #include "c-strcase.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[])