#include <stdio.h>
#include <stdarg.h>
-#define gettext(s) (s)
-#define pgettext_expr(a, s) (s)
-
/*
* We don't need a real snprintf for testing help functionality; substitute
* using vsprintf to ease testing on C89 implementations.
return ret;
}
+/*
+ * Do nothing, but try to tickle a crash if a bogus string argument is
+ * passed as the real functions dereference the provided pointers.
+ */
+#define gettext(s) (*(volatile char *)s, s)
+#define pgettext_expr(c, s) (*(volatile char *)c + *(volatile char *)s, s)
+
#endif