]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/genrb/errmsg.h
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / errmsg.h
index dbb8c66ffebc9079b10252e37e1f545fff890c6a..e01b9558f03813ca0516b3230bbb33a899e4789f 100644 (file)
@@ -1,7 +1,9 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
 *
-*   Copyright (C) 1998-1999, International Business Machines
+*   Copyright (C) 1998-2016, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
 #ifndef ERROR_H
 #define ERROR_H 1
 
-extern const char *gCurrentFileName;
+#include "unicode/utypes.h"
+
+U_CDECL_BEGIN
 
-void error   (uint32_t linenumber, const char *msg, ...);
-void warning (uint32_t linenumber, const char *msg, ...);
+extern const char *gCurrentFileName;
 
+U_CFUNC void error(uint32_t linenumber, const char *msg, ...);
+U_CFUNC void warning(uint32_t linenumber, const char *msg, ...);
 
 /* Show warnings? */
 U_CFUNC void setShowWarning(UBool val);
@@ -35,4 +40,7 @@ U_CFUNC UBool isStrict(void);
 /* verbosity */
 U_CFUNC void setVerbose(UBool val);
 U_CFUNC UBool isVerbose(void);
+
+U_CDECL_END
+
 #endif