X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-duplocale.c;h=65fa45749ead13a220017a254540bf40fb6bbc0d;hb=41d7de2bc881ddb3ce8a8a40552724ebb893108a;hp=a368c074281702465accd51e47ff494259307d02;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-duplocale.c b/tests/test-duplocale.c index a368c0742..65fa45749 100644 --- a/tests/test-duplocale.c +++ b/tests/test-duplocale.c @@ -1,5 +1,5 @@ /* Test of duplicating a locale object. - 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 @@ -28,20 +28,9 @@ SIGNATURE_CHECK (duplocale, locale_t, (locale_t)); #include #include #include -#include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" struct locale_dependent_values {