glcpp: Add glcpp_warning for printing warnings to the info log.
diff --git a/glcpp/glcpp.h b/glcpp/glcpp.h
index 8167a48..bb0ac95 100644
--- a/glcpp/glcpp.h
+++ b/glcpp/glcpp.h
@@ -167,9 +167,14 @@
void
glcpp_parser_destroy (glcpp_parser_t *parser);
+/* Functions for writing to the info log */
+
void
glcpp_error (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
+void
+glcpp_warning (YYLTYPE *locp, glcpp_parser_t *parser, const char *fmt, ...);
+
/* Generated by glcpp-lex.l to glcpp-lex.c */
int