X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mbmemcasecmp.c;h=4518db41766873bfbe5d2b35fb4e818879dacc1c;hb=df8bc51660941d7464dcd31170690519cb95c0c2;hp=3fb7e0a8fb9d8c1eaa71c5301ceff0cf4892b661;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-mbmemcasecmp.c b/tests/test-mbmemcasecmp.c index 3fb7e0a8f..4518db417 100644 --- a/tests/test-mbmemcasecmp.c +++ b/tests/test-mbmemcasecmp.c @@ -1,5 +1,5 @@ /* Test of case-insensitive memory area comparison function. - Copyright (C) 2007-2009 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 @@ -22,22 +22,9 @@ #include #include -#include -#include #include -#define SIZEOF(array) (sizeof (array) / sizeof (array[0])) -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #include "test-mbmemcasecmp.h"