13541 powertop: symbol 'g_turbo_supported' is multiply-defined
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
diff --git a/usr/src/cmd/powertop/common/powertop.c b/usr/src/cmd/powertop/common/powertop.c
index 731ff2a..9b4188e 100644
--- a/usr/src/cmd/powertop/common/powertop.c
+++ b/usr/src/cmd/powertop/common/powertop.c
@@ -72,7 +72,6 @@
 freq_state_info_t	g_pstate_info[NSTATES];
 cpu_power_info_t	*g_cpu_power_states;
 
-boolean_t		g_turbo_supported;
 boolean_t		g_sig_resize;
 
 uint_t			g_argc;
diff --git a/usr/src/cmd/powertop/common/turbo.c b/usr/src/cmd/powertop/common/turbo.c
index b2cafe7..4909b70 100644
--- a/usr/src/cmd/powertop/common/turbo.c
+++ b/usr/src/cmd/powertop/common/turbo.c
@@ -62,9 +62,9 @@
 static int
 pt_turbo_init(void)
 {
-	kstat_ctl_t 		*kc;
-	kstat_t 		*ksp;
-	kstat_named_t 		*knp;
+	kstat_ctl_t		*kc;
+	kstat_t			*ksp;
+	kstat_named_t		*knp;
 
 	/*
 	 * check if the CPU turbo is supported
@@ -111,10 +111,10 @@
 static int
 pt_turbo_snapshot(turbo_info_t *turbo_snapshot)
 {
-	kstat_ctl_t 		*kc;
-	kstat_t 		*ksp;
-	kstat_named_t 		*knp;
-	int 			cpu;
+	kstat_ctl_t		*kc;
+	kstat_t			*ksp;
+	kstat_named_t		*knp;
+	int			cpu;
 	turbo_info_t		*turbo_info;
 
 	if ((kc = kstat_open()) == NULL)