X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Flib%2Famd.h;fp=src%2Flib%2Famd.h;h=d7dde400c90e36a00740079f3e638e107cb16590;hp=acb234d58f2f1f375e5d581d05806d51a6f8a3e9;hb=9aa9c8d3823d79755ddd1aa49b9af6198e24d4e2;hpb=75fa49ffb0c9c8b60328c13ec8613299d094a2e5 diff --git a/src/lib/amd.h b/src/lib/amd.h index acb234d..d7dde40 100644 --- a/src/lib/amd.h +++ b/src/lib/amd.h @@ -22,19 +22,9 @@ #include "psensor.h" -/* - Updates temperatures of AMD sensors. -*/ void amd_psensor_list_update(struct psensor **sensors); -/* - Adds AMD sensors to a given list of sensors. - - Returns the new allocated list of sensors if sensors have been added - otherwise returns 'sensors'. The list is 'NULL' terminated. - */ -struct psensor **amd_psensor_list_add(struct psensor **sensors, - int values_max_length); +void amd_psensor_list_append(struct psensor ***sensors, int values_max_length); void amd_cleanup();