summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwarf_prototypes.h5
-rw-r--r--ltrace.11
2 files changed, 4 insertions, 2 deletions
diff --git a/dwarf_prototypes.h b/dwarf_prototypes.h
index eee71df..9966446 100644
--- a/dwarf_prototypes.h
+++ b/dwarf_prototypes.h
@@ -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 */
diff --git a/ltrace.1 b/ltrace.1
index e7facaf..382f09b 100644
--- 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