lib: standardize public include guards
[babeltrace.git] / extras / gen-babeltrace-h.py
index 75d328febbf85af36c92f0fc63b26ce9303834fc..b83f262a8bee4b621d51820e6138dc96ed1b1960 100644 (file)
@@ -70,8 +70,8 @@ def _main():
     with open('include/Makefile.am') as f:
         sections = _get_sections(f)
 
     with open('include/Makefile.am') as f:
         sections = _get_sections(f)
 
-    print('''#ifndef BABELTRACE_BABELTRACE_H
-#define BABELTRACE_BABELTRACE_H
+    print('''#ifndef BABELTRACE2_BABELTRACE_H
+#define BABELTRACE2_BABELTRACE_H
 
 /*
  * Babeltrace API
 
 /*
  * Babeltrace API
@@ -98,7 +98,7 @@ def _main():
  */
 ''')
     print(_c_includes_from_sections(sections))
  */
 ''')
     print(_c_includes_from_sections(sections))
-    print('#endif /* BABELTRACE_BABELTRACE_H */')
+    print('#endif /* BABELTRACE2_BABELTRACE_H */')
 
 
 if __name__ == '__main__':
 
 
 if __name__ == '__main__':
This page took 0.022394 seconds and 4 git commands to generate.