diff options
author | marcel <marcel@FreeBSD.org> | 2008-07-31 16:26:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-07-31 16:26:58 +0000 |
commit | 26ada4b390d67732f86ca80952574ba039eecdf5 (patch) | |
tree | bc4d0d376ef98a729ddcb08d34eb51a832da3aec /lib/libthread_db/libpthread_db.h | |
parent | 10a841cbfb0cea3932ca2727dc675944e91b7f3c (diff) | |
download | FreeBSD-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.h | 13 |
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; |