@@ -24,10 +24,10 @@ struct ctl *get_debug_ctl(void) { return ctl_debug; }
2424/*
2525 * CTL_WRITE_HANDLER(alloc_pattern) -- sets the alloc_pattern field in heap
2626 */
27- static int
28- CTL_WRITE_HANDLER ( alloc_pattern , )( void * ctx , enum ctl_query_source source ,
29- void * arg ,
30- struct ctl_index_utlist * indexes ) {
27+ static int CTL_WRITE_HANDLER ( alloc_pattern )( void * ctx ,
28+ enum ctl_query_source source ,
29+ void * arg ,
30+ struct ctl_index_utlist * indexes ) {
3131 /* suppress unused-parameter errors */
3232 (void )source , (void )indexes , (void )ctx ;
3333
@@ -39,10 +39,10 @@ CTL_WRITE_HANDLER(alloc_pattern, )(void *ctx, enum ctl_query_source source,
3939/*
4040 * CTL_READ_HANDLER(alloc_pattern) -- returns alloc_pattern heap field
4141 */
42- static int CTL_READ_HANDLER (alloc_pattern , )(void * ctx ,
43- enum ctl_query_source source ,
44- void * arg ,
45- struct ctl_index_utlist * indexes ) {
42+ static int CTL_READ_HANDLER (alloc_pattern )(void * ctx ,
43+ enum ctl_query_source source ,
44+ void * arg ,
45+ struct ctl_index_utlist * indexes ) {
4646 /* suppress unused-parameter errors */
4747 (void )source , (void )indexes , (void )ctx ;
4848
@@ -51,10 +51,10 @@ static int CTL_READ_HANDLER(alloc_pattern, )(void *ctx,
5151 return 0 ;
5252}
5353
54- static int
55- CTL_WRITE_HANDLER ( enable_logging , )( void * ctx , enum ctl_query_source source ,
56- void * arg ,
57- struct ctl_index_utlist * indexes ) {
54+ static int CTL_WRITE_HANDLER ( enable_logging )( void * ctx ,
55+ enum ctl_query_source source ,
56+ void * arg ,
57+ struct ctl_index_utlist * indexes ) {
5858 /* suppress unused-parameter errors */
5959 (void )source , (void )indexes , (void )ctx ;
6060
@@ -63,10 +63,10 @@ CTL_WRITE_HANDLER(enable_logging, )(void *ctx, enum ctl_query_source source,
6363 return 0 ;
6464}
6565
66- static int
67- CTL_READ_HANDLER ( enable_logging , )( void * ctx , enum ctl_query_source source ,
68- void * arg ,
69- struct ctl_index_utlist * indexes ) {
66+ static int CTL_READ_HANDLER ( enable_logging )( void * ctx ,
67+ enum ctl_query_source source ,
68+ void * arg ,
69+ struct ctl_index_utlist * indexes ) {
7070 /* suppress unused-parameter errors */
7171 (void )source , (void )indexes , (void )ctx ;
7272
@@ -75,10 +75,9 @@ CTL_READ_HANDLER(enable_logging, )(void *ctx, enum ctl_query_source source,
7575 return 0 ;
7676}
7777
78- static int CTL_WRITE_HANDLER (log_level , )(void * ctx ,
79- enum ctl_query_source source ,
80- void * arg ,
81- struct ctl_index_utlist * indexes ) {
78+ static int CTL_WRITE_HANDLER (log_level )(void * ctx , enum ctl_query_source source ,
79+ void * arg ,
80+ struct ctl_index_utlist * indexes ) {
8281 /* suppress unused-parameter errors */
8382 (void )source , (void )indexes , (void )ctx ;
8483
@@ -87,10 +86,9 @@ static int CTL_WRITE_HANDLER(log_level, )(void *ctx,
8786 return 0 ;
8887}
8988
90- static int CTL_READ_HANDLER (log_level , )(void * ctx ,
91- enum ctl_query_source source ,
92- void * arg ,
93- struct ctl_index_utlist * indexes ) {
89+ static int CTL_READ_HANDLER (log_level )(void * ctx , enum ctl_query_source source ,
90+ void * arg ,
91+ struct ctl_index_utlist * indexes ) {
9492 /* suppress unused-parameter errors */
9593 (void )source , (void )indexes , (void )ctx ;
9694
@@ -105,15 +103,15 @@ static const struct ctl_argument CTL_ARG(enable_logging) = CTL_ARG_BOOLEAN;
105103
106104static const struct ctl_argument CTL_ARG (log_level ) = CTL_ARG_INT ;
107105
108- static const struct ctl_node CTL_NODE (heap , )[] = {CTL_LEAF_RW (alloc_pattern ),
109- CTL_LEAF_RW (enable_logging ),
110- CTL_LEAF_RW (log_level ),
106+ static const struct ctl_node CTL_NODE (heap )[] = {CTL_LEAF_RW (alloc_pattern ),
107+ CTL_LEAF_RW (enable_logging ),
108+ CTL_LEAF_RW (log_level ),
111109
112- CTL_NODE_END };
110+ CTL_NODE_END };
113111
114- static const struct ctl_node CTL_NODE (debug , )[] = {CTL_CHILD (heap , ),
112+ static const struct ctl_node CTL_NODE (debug )[] = {CTL_CHILD (heap ),
115113
116- CTL_NODE_END };
114+ CTL_NODE_END };
117115
118116/*
119117 * debug_ctl_register -- registers ctl nodes for "debug" module
0 commit comments