Dylan Cali wrote:
--- a/lib/gl_avltree_list.h
+++ b/lib/gl_avltree_list.h
@@ -24,6 +24,7 @@
  extern "C" {
  #endif

+extern void gl_avltree_list_check_invariants (gl_list_t list);

On second thought this doesn't look wise, as the function is not expected to be exported to ordinary clients, only to the test cases. So let's leave the .h file alone, and put a declaration in the .c file instead.

I suppose a pragma is the way to silence the unwanted diagnostics, yes.

Reply via email to