X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-memcmp.c;h=479017940971ff3dab0cc8bc41d65e781af048d9;hb=60573660307a386a933de834a06c37691120e507;hp=463ca0c9882c4dbea9435e8bf89638fd84f44a7d;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-memcmp.c b/tests/test-memcmp.c index 463ca0c98..479017940 100644 --- a/tests/test-memcmp.c +++ b/tests/test-memcmp.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2009 Free Software Foundation + * Copyright (C) 2008-2011 Free Software Foundation, Inc. * Written by Simon Josefsson * * This program is free software: you can redistribute it and/or modify @@ -22,22 +22,8 @@ #include "signature.h" SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t)); -#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 (void)