diff options
author | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
commit | 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch) | |
tree | 486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libpthread/test | |
parent | 0e618921c14332b422b10cbd97a3431372f9eec1 (diff) | |
download | FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.zip FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.tar.gz |
Mark some functions as __printflike() and/or taking const char * arguments
instead of char *.
MFC after: 2 weeks
Diffstat (limited to 'lib/libpthread/test')
-rw-r--r-- | lib/libpthread/test/mutex_d.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/test/mutex_d.c b/lib/libpthread/test/mutex_d.c index ea31299..21bf848 100644 --- a/lib/libpthread/test/mutex_d.c +++ b/lib/libpthread/test/mutex_d.c @@ -59,6 +59,9 @@ #define MAX_THREAD_CMDS 10 +static void log_error(const char *, ...) __printflike(1, 2); +static void log_trace (const char *, ...) __printflike(1, 2); +static void log (const char *, ...) __printflike(1, 2); /*------------------------------------------------------------ * Types |