Browse Source

cpustatus is maybe unused

Luke Dashjr 14 years ago
parent
commit
99fa1cda7b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -881,6 +881,7 @@ static void pgastatus(int pga, bool isjson)
 	devstatus_an(io_buffer, devices[dev], isjson);
 	devstatus_an(io_buffer, devices[dev], isjson);
 }
 }
 
 
+__maybe_unused
 static void cpustatus(int cpu, bool isjson)
 static void cpustatus(int cpu, bool isjson)
 {
 {
 	if (opt_n_threads <= 0 || cpu < 0 || cpu >= num_processors)
 	if (opt_n_threads <= 0 || cpu < 0 || cpu >= num_processors)