* test_comment -- a comment to print afterwards, may be NULL
*/
unsigned int
-_gen_result(int ok, const char *func, char *file, unsigned int line,
- char *test_name, ...)
+_gen_result(int ok, const char *func, const char *file, unsigned int line,
+ const char *test_name, ...)
{
va_list ap;
char *local_test_name = NULL;
* Note that the plan is to skip all tests
*/
int
-plan_skip_all(char *reason)
+plan_skip_all(const char *reason)
{
LOCK;
}
unsigned int
-diag(char *fmt, ...)
+diag(const char *fmt, ...)
{
va_list ap;
}
int
-skip(unsigned int n, char *fmt, ...)
+skip(unsigned int n, const char *fmt, ...)
{
va_list ap;
char *skip_msg = NULL;
}
void
-todo_start(char *fmt, ...)
+todo_start(const char *fmt, ...)
{
va_list ap;
#define skip_end() } while(0);
__attribute__((format(printf, 5, 6)))
-unsigned int _gen_result(int, const char *, char *, unsigned int, char *, ...);
+unsigned int _gen_result(int, const char *, const char *, unsigned int, const char *, ...);
int plan_no_plan(void);
-int plan_skip_all(char *);
+int plan_skip_all(const char *);
int plan_tests(unsigned int);
__attribute__((format(printf, 1, 2)))
-unsigned int diag(char *, ...);
+unsigned int diag(const char *, ...);
void diag_multiline(const char *);
__attribute__((format(printf, 2, 3)))
-int skip(unsigned int, char *, ...);
+int skip(unsigned int, const char *, ...);
__attribute__((format(printf, 1, 2)))
-void todo_start(char *, ...);
+void todo_start(const char *, ...);
void todo_end(void);
int exit_status(void);