Hello,
Here, at CLS we have a module which extends (and simplify for our
applications) udunits and it as been ported to udunits-2.
As a transistion, there is also the old one (while applications are
ported) and they use udunits.h.
When compiling I have errors because 2 functions which don't have any
parameter don't have 'void' as parameter description (we use -Werror as
gcc flags).
I don't know if you plan to fix this but as attachment there is the
patch which corrects the functions definitions.
Cheers,
Philippe
--
Philippe Poilbarbe - CLS Space Oceanography Division
--- lib/udunits.h.orig
+++ lib/udunits.h
@@ -72,6 +72,7 @@
* Indicate if the units(3) package has been initialized.
*/
extern int utIsInit PROTO((
+ void
));
/*
@@ -246,7 +247,7 @@
/*
* Terminate use of this package.
*/
-extern void utTerm PROTO(());
+extern void utTerm PROTO((void));
#ifdef __cplusplus
}