summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-07-31 11:37:09 +0200
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:27 +0900
commitdaac7cac98b5be89209263ba200d7df3c69b70b4 (patch)
treec9aaa3650d86d38c7e79361a4490da638fbb6b60
parenteb09591517adc04f4f5097f84ec500cce3025dd8 (diff)
downloadltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.tar.gz
ltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.tar.bz2
ltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.zip
Drop uses of #pragma once
-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