X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_power%2Frte_power.h;h=67e0ec02e6baf5c1a2f93147ee2ce97e468a7e40;hb=4ab82fec1335e577ce20bb944772e7fa7d30a522;hp=933806932545f265c190fcce47971c1eed591e2c;hpb=445c6528b55f9025bbeeb5eeabaed14c74125696;p=dpdk.git diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 9338069325..67e0ec02e6 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -68,19 +68,12 @@ int rte_power_set_env(enum power_management_env env); /** * Unset the global environment configuration. * This can only be called after all threads have completed. - * - * @param None. - * - * @return - * None. */ void rte_power_unset_env(void); /** * Get the default power management implementation. * - * @param None. - * * @return * power_management_env The configured environment. */ @@ -104,7 +97,6 @@ int rte_power_init(unsigned lcore_id); * Exit power management on a specific lcore. This will call the environment * dependent exit function. * - * * @param lcore_id * lcore id. * @@ -242,7 +234,7 @@ extern rte_power_freq_change_t rte_power_freq_max; * - 0 on success without frequency changed. * - Negative on error. */ -rte_power_freq_change_t rte_power_freq_min; +extern rte_power_freq_change_t rte_power_freq_min; #ifdef __cplusplus }