diff options
author | phk <phk@FreeBSD.org> | 2004-03-10 08:49:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-03-10 08:49:08 +0000 |
commit | 9a7074f4cb924ae82908691b9014ec3046fa7a8a (patch) | |
tree | 3d29009688ec2443c80b12f054dff9ab4238ba22 /lib/libc/stdlib/getopt_long.c | |
parent | 7432091236a4f7e854963b7353bb9e33c7f126ad (diff) | |
download | FreeBSD-src-9a7074f4cb924ae82908691b9014ec3046fa7a8a.zip FreeBSD-src-9a7074f4cb924ae82908691b9014ec3046fa7a8a.tar.gz |
Rearrange some of the GEOM debugging tools to be more structured.
Retire g_sanity() and corresponding debugflag (0x8)
Retire g_{stall,release}_events().
Under #ifdef DIAGNOSTIC:
Make g_valid_obj() an official function and have it return an an
non-zero integer which indicates the kind of object when found.
Implement G_VALID_{CLASS,GEOM,CONSUMER,PROVIDER}() macros based
on g_valid_obj().
Sprinkle calls to these macros liberally over the infrastructure.
Always check that we do not free a live object.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions