diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/test/test.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/test/test.h b/src/regress/lib/libcrypto/test/test.h index 051871dd35..60e141d506 100644 --- a/src/regress/lib/libcrypto/test/test.h +++ b/src/regress/lib/libcrypto/test/test.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: test.h,v 1.2 2025/05/22 02:23:41 joshua Exp $ */ | 1 | /* $OpenBSD: test.h,v 1.3 2025/05/31 08:25:04 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> | 3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> |
| 4 | * | 4 | * |
| @@ -56,7 +56,7 @@ void test_fail(struct test *_t); | |||
| 56 | * | 56 | * |
| 57 | * This printf will write directly, without any additional formatting. | 57 | * This printf will write directly, without any additional formatting. |
| 58 | */ | 58 | */ |
| 59 | void test_printf(struct test *_t, const char *_fmt, ...); | 59 | void test_printf(struct test *_t, const char *_fmt, ...) |
| 60 | __attribute__((__format__ (printf, 2, 3))) | 60 | __attribute__((__format__ (printf, 2, 3))) |
| 61 | __attribute__((__nonnull__ (2))); | 61 | __attribute__((__nonnull__ (2))); |
| 62 | 62 | ||
| @@ -72,7 +72,7 @@ void test_printf(struct test *_t, const char *_fmt, ...); | |||
| 72 | * This function should never be called directly. | 72 | * This function should never be called directly. |
| 73 | */ | 73 | */ |
| 74 | void test_logf_internal(struct test *_t, const char *_label, const char *_func, | 74 | void test_logf_internal(struct test *_t, const char *_label, const char *_func, |
| 75 | const char *_file, int _line, const char *_fmt, ...); | 75 | const char *_file, int _line, const char *_fmt, ...) |
| 76 | __attribute__((__format__ (printf, 6, 7))) | 76 | __attribute__((__format__ (printf, 6, 7))) |
| 77 | __attribute__((__nonnull__ (6))); | 77 | __attribute__((__nonnull__ (6))); |
| 78 | 78 | ||
| @@ -109,7 +109,7 @@ void test_skip(struct test *_t, const char *_reason); | |||
| 109 | * test_skipf marks the test as skipped with a formatted reason. Once called, | 109 | * test_skipf marks the test as skipped with a formatted reason. Once called, |
| 110 | * the test should return. | 110 | * the test should return. |
| 111 | */ | 111 | */ |
| 112 | void test_skipf(struct test *_t, const char *_fmt, ...); | 112 | void test_skipf(struct test *_t, const char *_fmt, ...) |
| 113 | __attribute__((__format__ (printf, 2, 3))) | 113 | __attribute__((__format__ (printf, 2, 3))) |
| 114 | __attribute__((__nonnull__ (2))); | 114 | __attribute__((__nonnull__ (2))); |
| 115 | 115 | ||
