X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-fcntl-safer.c;h=70a9f51b80cb53fc5cbd72541c5a84ac25eae403;hb=4a9738ec59c7849cb35ccab20bf6c3737f4e10b1;hp=15f6e2ca6c547417765edf5ce8432bc08310870f;hpb=7f013da1190d9a4483dafd50a865aad9c651817c;p=gnulib.git diff --git a/tests/test-fcntl-safer.c b/tests/test-fcntl-safer.c index 15f6e2ca6..70a9f51b8 100644 --- a/tests/test-fcntl-safer.c +++ b/tests/test-fcntl-safer.c @@ -1,5 +1,5 @@ /* Test of opening a file descriptor. - Copyright (C) 2007-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2011 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 @@ -23,20 +23,9 @@ #include #include #include -#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" #define BASE "test-fcntl-safer.t"