X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-strstr.c;h=b6845ab7de317a23a63767d37bd3564cabbca6b8;hb=fb4a9aa847c5e660adda65e9e2b9752aabfeeaf3;hp=6bffc13242593688ec55d0af8e7d6d8f0185b43b;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-strstr.c b/tests/test-strstr.c index 6bffc1324..b6845ab7d 100644 --- a/tests/test-strstr.c +++ b/tests/test-strstr.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2007, 2008, 2009 Free Software Foundation + * Copyright (C) 2004, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. * Written by Bruno Haible and Eric Blake * * This program is free software: you can redistribute it and/or modify @@ -23,23 +23,11 @@ SIGNATURE_CHECK (strstr, char *, (char const *, char const *)); #include -#include #include #include #include "zerosize-ptr.h" - -#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 (int argc, char *argv[])