"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/systemMap.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.

systemMap.c  (udunits-2.2.26):systemMap.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.
*/ */
/* /*
* Module for system-to-pointer maps. * Module for system-to-pointer maps.
* *
* This module is thread-compatible but not thread-safe. * This module is thread-compatible but not thread-safe.
*/ */
/*LINTLIBRARY*/ /*LINTLIBRARY*/
#ifndef _XOPEN_SOURCE #include "config.h"
# define _XOPEN_SOURCE 500
#endif #include "systemMap.h"
#include "udunits2.h"
#ifdef _MSC_VER #ifdef _MSC_VER
#include "tsearch.h" #include "tsearch.h"
#else #else
#include <search.h> #include <search.h>
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include "systemMap.h"
#include "udunits2.h"
struct SystemMap { struct SystemMap {
void* tree; void* tree;
}; };
typedef struct { typedef struct {
const ut_system* system; const ut_system* system;
void* ptr; void* ptr;
} Entry; } Entry;
/* /*
 End of changes. 3 change blocks. 
7 lines changed or deleted 5 lines changed or added

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