X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fmeasure.h;h=9bf848b33ec9eab330e47ef669b4f985318184c1;hp=759b08f831ba31fb5abd272f8d3ba23d59b36f26;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=a0dde8ab4748d4278d4d2c98e93a96e0f6931b0f diff --git a/src/lib/measure.h b/src/lib/measure.h index 759b08f..9bf848b 100644 --- a/src/lib/measure.h +++ b/src/lib/measure.h @@ -1,22 +1,21 @@ /* - Copyright (C) 2010-2011 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 published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA -*/ - + * Copyright (C) 2010-2016 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 + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ #ifndef _PSENSOR_MEASURE_H_ #define _PSENSOR_MEASURE_H_ @@ -27,10 +26,7 @@ #define UNKNOWN_DBL_VALUE DBL_MIN struct measure { - union value { - double d_num; - uint64_t ui64_num; - } value; + double value; struct timeval time; };