summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/internals.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-21 23:13:46 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-21 23:13:46 -0400
commit44bc29e4f3bf4310fabbed3b187bc0aad8827db0 (patch)
tree5f8acd6f49dbbe33ccb4c4ca6a3d38a129a71529 /libpthread/linuxthreads.old/internals.h
parent6ca56dd4d711c731d010c484c20384097615f6cd (diff)
libpthread: add format attribute to __pthread_message()
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/linuxthreads.old/internals.h')
-rw-r--r--libpthread/linuxthreads.old/internals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/internals.h b/libpthread/linuxthreads.old/internals.h
index a4da09910..637fcea62 100644
--- a/libpthread/linuxthreads.old/internals.h
+++ b/libpthread/linuxthreads.old/internals.h
@@ -451,7 +451,8 @@ void __pthread_do_exit (void *retval, char *currentframe)
void __pthread_destroy_specifics(void);
void __pthread_perform_cleanup(char *currentframe);
int __pthread_initialize_manager(void);
-void __pthread_message(char * fmt, ...);
+void __pthread_message(char * fmt, ...)
+ __attribute__ ((__format__ (printf, 1, 2)));
int __pthread_manager(void *reqfd);
int __pthread_manager_event(void *reqfd);
void __pthread_manager_sighandler(int sig);