ao-tools: Declare ao_verbose as extern in shared header.
[fw/altos] / ao-tools / lib / ao-verbose.h
index 45a0559cb9aa4bb56defee59618a3c48155b74ec..79fbb0d953ae8e5d461483ef82a1f6c9926f512a 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 #include <stdint.h>
 #include <stdarg.h>
 
-uint32_t       ao_verbose;
+extern uint32_t        ao_verbose;
 
 #define AO_VERBOSE_EXE 1
+#define AO_VERBOSE_SELF        2
 
 void
 ao_printf(uint32_t verbose, const char *format, ...);