X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-count-one-bits.c;h=9a201c5df8ff302ccf63e15962f6ac01e6c4c931;hb=fb884a0dca91500cb944b0ecc2e5388fa2c7bcd5;hp=a9c94763dba8dcca5aea9ad12ea178f6a9d35915;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-count-one-bits.c b/tests/test-count-one-bits.c index a9c94763d..9a201c5df 100644 --- a/tests/test-count-one-bits.c +++ b/tests/test-count-one-bits.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 Free Software Foundation + * Copyright (C) 2007-2013 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,19 +22,8 @@ #include #include -#include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion \"%s\" failed\n", \ - __FILE__, __LINE__, #expr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #define UINT_BIT (sizeof (unsigned int) * CHAR_BIT) #define ULONG_BIT (sizeof (unsigned long int) * CHAR_BIT)