X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mbspbrk.c;h=c6adbaa6c5e6cd56622e405d02f846c95bba1fd2;hb=d66478297fa398b1358bbd8b56b1b34e7fef5415;hp=14a8b821ee19f0e57e76b68150b1a71bd0e6ae76;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-mbspbrk.c b/tests/test-mbspbrk.c index 14a8b821e..c6adbaa6c 100644 --- a/tests/test-mbspbrk.c +++ b/tests/test-mbspbrk.c @@ -1,5 +1,5 @@ /* Test of searching a string for a character among a given set of characters. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 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 @@ -21,19 +21,8 @@ #include #include -#include -#include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" int main ()