Drop uses of #pragma once
authorPetr Machata <pmachata@redhat.com>
Thu, 31 Jul 2014 09:37:09 +0000 (11:37 +0200)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:27 +0000 (20:38 +0900)
dwarf_prototypes.h
ltrace.1

index eee71df..9966446 100644 (file)
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef DWARF_PROTOTYPES_H
+#define DWARF_PROTOTYPES_H
 
 #include <stdbool.h>
 #include <elfutils/libdwfl.h>
@@ -7,3 +8,5 @@
 #include "library.h"
 
 bool import_DWARF_prototypes(struct library *lib);
+
+#endif /* DWARF_PROTOTYPES_H */
index e7facaf..382f09b 100644 (file)
--- a/ltrace.1
+++ b/ltrace.1
@@ -234,7 +234,6 @@ Filters are specified with the \-l, \-e and \-x options. In short they mean:
 Suppose I have a library defined with this header \fBtstlib.h\fR:
 .PP
 .Vb 6
-\& #pragma once
 \& void func_f_lib(void);
 \& void func_g_lib(void);
 .Ve