X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-memcmp.c;h=479017940971ff3dab0cc8bc41d65e781af048d9;hb=1fd8cad93b2ad72a6b8de912cf0e3630b98fe19c;hp=87403161e157c95bf5b0461df4fdc6f49504b3c8;hpb=a562f3635a01ccc315d964f115b7c256a94a44b6;p=gnulib.git diff --git a/tests/test-memcmp.c b/tests/test-memcmp.c index 87403161e..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 @@ -19,22 +19,11 @@ #include -#include -#include +#include "signature.h" +SIGNATURE_CHECK (memcmp, int, (void const *, void const *, size_t)); #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)