diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-09-13 13:22:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-09-13 13:22:33 +0000 |
commit | 4c91ccc9e822b2746fb6f1ab29e0c04256fd413c (patch) | |
tree | 2bbee7c9cd01997dc3804545460c35abe90f353a /tests/tgeneric.c | |
parent | 68cf48ac80ad69e1471897c50c20e387bdd116ef (diff) | |
download | mpfr-4c91ccc9e822b2746fb6f1ab29e0c04256fd413c.tar.gz |
[tests] Avoid duplicate code by defining the MAKE_STR() macro in
mpfr-test.h only instead of tgeneric.c and tversion.c.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11739 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgeneric.c')
-rw-r--r-- | tests/tgeneric.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c index 31f5df72b..b2851e72d 100644 --- a/tests/tgeneric.c +++ b/tests/tgeneric.c @@ -70,9 +70,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #define TGENERIC_SO_TEST 1 #endif -#define STR(F) #F -#define MAKE_STR(S) STR(S) - /* The (void *) below is needed to avoid a warning with gcc 4.2+ and functions * with 2 arguments. See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36299>. */ |