From 717268add9fba055da2c5f9f1430896c0fa1e6e6 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 19 May 2018 11:09:20 +0200 Subject: [PATCH] Simplify the macro usage. --- m-algo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m-algo.h b/m-algo.h index 0d5b4234..bb58ec18 100644 --- a/m-algo.h +++ b/m-algo.h @@ -368,14 +368,14 @@ /* - a selection sort */ \ M_IF_METHOD(SORT, cont_oplist)( \ /* optimized sort for container */ \ - static inline void M_C3(name,sort_name,)(container_t l) \ + static inline void M_C(name,sort_name)(container_t l) \ { \ M_GET_SORT cont_oplist(l, M_C3(name,sort_name,_cmp)); \ } \ , \ M_IF_METHOD(IT_PREVIOUS, cont_oplist)( \ /* generic insertion sort */ \ - static inline void M_C3(name,sort_name,)(container_t l) \ + static inline void M_C(name,sort_name)(container_t l) \ { \ it_t it1; \ it_t it2; \ @@ -401,7 +401,7 @@ } \ , \ /* generic selection sort */ \ - static inline void M_C3(name,sort_name,)(container_t l) \ + static inline void M_C(name,sort_name)(container_t l) \ { \ it_t it1; \ it_t it2; \