include: Don't stringify twice with will_return_always().
authorTravis Hendrickson <trav.hendrickson@gmail.com>
Sun, 27 Oct 2013 14:58:29 +0000 (15:58 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 27 Oct 2013 15:04:25 +0000 (16:04 +0100)
include/cmocka.h

index 45d80a3b4d286f0c59c1ebcfa7b62965d6e4667a..0df2e9087784b53b09eabc0f871f883e1ece9825 100644 (file)
@@ -305,7 +305,7 @@ void will_return_count(#function, void *value, int count);
 void will_return_always(#function, void *value);
 #else
 #define will_return_always(function, value) \
-    will_return_count(#function, (value), -1)
+    will_return_count(function, (value), -1)
 #endif
 
 /** @} */