summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/libpthread_db.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-07-31 16:26:58 +0000
committermarcel <marcel@FreeBSD.org>2008-07-31 16:26:58 +0000
commit26ada4b390d67732f86ca80952574ba039eecdf5 (patch)
treebc4d0d376ef98a729ddcb08d34eb51a832da3aec /lib/libthread_db/libpthread_db.h
parent10a841cbfb0cea3932ca2727dc675944e91b7f3c (diff)
downloadFreeBSD-src-26ada4b390d67732f86ca80952574ba039eecdf5.zip
FreeBSD-src-26ada4b390d67732f86ca80952574ba039eecdf5.tar.gz
Cleanup for WARNS 3.
Diffstat (limited to 'lib/libthread_db/libpthread_db.h')
-rw-r--r--lib/libthread_db/libpthread_db.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libthread_db/libpthread_db.h b/lib/libthread_db/libpthread_db.h
index 188da48..44c5de6 100644
--- a/lib/libthread_db/libpthread_db.h
+++ b/lib/libthread_db/libpthread_db.h
@@ -34,13 +34,14 @@
#include "thread_db_int.h"
-struct pt_map {
- enum {
- PT_NONE,
- PT_USER,
- PT_LWP
- } type;
+enum pt_type {
+ PT_NONE,
+ PT_USER,
+ PT_LWP
+};
+struct pt_map {
+ enum pt_type type;
union {
lwpid_t lwp;
psaddr_t thr;
OpenPOWER on IntegriCloud