X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-strchrnul.c;h=6ea8adc312d6b0a750b653c6f2304204f3fc24eb;hb=6815bc73969d38c2226cf6e3366c1e4f4f756ba0;hp=f2f341f6bd47ff5c2b80bee5737b71e23836eb88;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-strchrnul.c b/tests/test-strchrnul.c index f2f341f6b..6ea8adc31 100644 --- a/tests/test-strchrnul.c +++ b/tests/test-strchrnul.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008, 2009 Free Software Foundation + * Copyright (C) 2008-2011 Free Software Foundation, Inc. * Written by Eric Blake and Bruno Haible * * This program is free software: you can redistribute it and/or modify @@ -22,20 +22,9 @@ #include "signature.h" SIGNATURE_CHECK (strchrnul, char *, (char const *, int)); -#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" int main (void)