X-Git-Url: http://wpitchoune.net/gitweb/?p=psensor-pkg-debian.git;a=blobdiff_plain;f=src%2Flib%2Famd.h;h=d7dde400c90e36a00740079f3e638e107cb16590;hp=1a5449c78e3a3aa47213f89518b78b9a1c54d33d;hb=48da1ac5531838d157762882ee455cec4da05728;hpb=dcd813f21c83592155f712ff1acf450b483d8072 diff --git a/src/lib/amd.h b/src/lib/amd.h index 1a5449c..d7dde40 100644 --- a/src/lib/amd.h +++ b/src/lib/amd.h @@ -1,6 +1,6 @@ /* * Copyright (C) 2010-2011 thgreasi@gmail.com, jeanfi@gmail.com - * Copyright (C) 2010-2013 jeanfi@gmail.com + * Copyright (C) 2012-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -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();