projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: cleanup whitespace
[collectd.git]
/
src
/
barometer.c
diff --git
a/src/barometer.c
b/src/barometer.c
index
0e8deaf
..
f14ac04
100644
(file)
--- a/
src/barometer.c
+++ b/
src/barometer.c
@@
-343,9
+343,9
@@
static temperature_list_t * temp_list = NULL;
*/
static int temp_list_add(temperature_list_t * list, const char * sensor)
{
*/
static int temp_list_add(temperature_list_t * list, const char * sensor)
{
- temperature_list_t *
new_temp;
+ temperature_list_t *new_temp;
- new_temp =
(temperature_list_t *) malloc(sizeof
(*new_temp));
+ new_temp =
malloc(sizeof
(*new_temp));
if(new_temp == NULL)
return -1;
if(new_temp == NULL)
return -1;