"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/testUnits-1.c" between
udunits-2.2.26.tar.gz and udunits-2.2.28.tar.gz

About: UDUNITS supports units of physical quantities. Its C library provides for arithmetic manipulation of units and for conversion of numeric values between compatible units.

testUnits-1.c  (udunits-2.2.26):testUnits-1.c  (udunits-2.2.28)
/* /*
* Copyright 2013 University Corporation for Atmospheric Research * Copyright 2020 University Corporation for Atmospheric Research
* *
* This file is part of the UDUNITS-2 package. See the file COPYRIGHT * This file is part of the UDUNITS-2 package. See the file COPYRIGHT
* in the top-level source-directory of the package for copying and * in the top-level source-directory of the package for copying and
* redistribution conditions. * redistribution conditions.
*/ */
#ifndef _XOPEN_SOURCE #include "config.h"
# define _XOPEN_SOURCE 500
#endif #include "udunits.h"
#include <float.h> #include <float.h>
#include <glob.h> #include <glob.h>
#include <math.h> #include <math.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <CUnit/CUnit.h> #include <CUnit/CUnit.h>
#include <CUnit/Basic.h> #include <CUnit/Basic.h>
#include "udunits.h"
static utUnit kilogram; static utUnit kilogram;
static utUnit watt; static utUnit watt;
static int static int
setup( setup(
void) void)
{ {
return utInit("/foo/bar"); return utInit("/foo/bar");
} }
 End of changes. 3 change blocks. 
6 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)