@@ -24,10 +24,10 @@ struct ctl *get_debug_ctl(void) { return ctl_debug; }
24
24
/*
25
25
* CTL_WRITE_HANDLER(alloc_pattern) -- sets the alloc_pattern field in heap
26
26
*/
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 ) {
31
31
/* suppress unused-parameter errors */
32
32
(void )source , (void )indexes , (void )ctx ;
33
33
@@ -39,10 +39,10 @@ CTL_WRITE_HANDLER(alloc_pattern, )(void *ctx, enum ctl_query_source source,
39
39
/*
40
40
* CTL_READ_HANDLER(alloc_pattern) -- returns alloc_pattern heap field
41
41
*/
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 ) {
46
46
/* suppress unused-parameter errors */
47
47
(void )source , (void )indexes , (void )ctx ;
48
48
@@ -51,10 +51,10 @@ static int CTL_READ_HANDLER(alloc_pattern, )(void *ctx,
51
51
return 0 ;
52
52
}
53
53
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 ) {
58
58
/* suppress unused-parameter errors */
59
59
(void )source , (void )indexes , (void )ctx ;
60
60
@@ -63,10 +63,10 @@ CTL_WRITE_HANDLER(enable_logging, )(void *ctx, enum ctl_query_source source,
63
63
return 0 ;
64
64
}
65
65
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 ) {
70
70
/* suppress unused-parameter errors */
71
71
(void )source , (void )indexes , (void )ctx ;
72
72
@@ -75,10 +75,9 @@ CTL_READ_HANDLER(enable_logging, )(void *ctx, enum ctl_query_source source,
75
75
return 0 ;
76
76
}
77
77
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 ) {
82
81
/* suppress unused-parameter errors */
83
82
(void )source , (void )indexes , (void )ctx ;
84
83
@@ -87,10 +86,9 @@ static int CTL_WRITE_HANDLER(log_level, )(void *ctx,
87
86
return 0 ;
88
87
}
89
88
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 ) {
94
92
/* suppress unused-parameter errors */
95
93
(void )source , (void )indexes , (void )ctx ;
96
94
@@ -105,15 +103,15 @@ static const struct ctl_argument CTL_ARG(enable_logging) = CTL_ARG_BOOLEAN;
105
103
106
104
static const struct ctl_argument CTL_ARG (log_level ) = CTL_ARG_INT ;
107
105
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 ),
111
109
112
- CTL_NODE_END };
110
+ CTL_NODE_END };
113
111
114
- static const struct ctl_node CTL_NODE (debug , )[] = {CTL_CHILD (heap , ),
112
+ static const struct ctl_node CTL_NODE (debug )[] = {CTL_CHILD (heap ),
115
113
116
- CTL_NODE_END };
114
+ CTL_NODE_END };
117
115
118
116
/*
119
117
* debug_ctl_register -- registers ctl nodes for "debug" module
0 commit comments