openbsd-ports/math/udunits/patches/patch-lib_parser_c
2010-07-11 10:32:52 +00:00

17 lines
669 B
Plaintext

$OpenBSD: patch-lib_parser_c,v 1.1.1.1 2010/07/11 10:32:52 espie Exp $
--- lib/parser.c.orig Fri Jul 2 17:36:01 2010
+++ lib/parser.c Fri Jul 2 17:36:33 2010
@@ -143,6 +143,12 @@ static ut_system* _unitSystem; /* The unit-system to u
static char* _errorMessage; /* last error-message */
static ut_encoding _encoding; /* encoding of string to be parsed */
static int _restartScanner;/* restart scanner? */
+extern int utlex(void);
+extern ut_status utGetPrefixByName(ut_system* const, const const char*,
+ const double*, const size_t* const);
+extern ut_status utGetPrefixBySymbol( ut_system* const, const char* const,
+ double* const, size_t* const);
+
/*