diff options
author | Petr Machata <pmachata@redhat.com> | 2014-07-31 11:37:09 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:27 +0900 |
commit | daac7cac98b5be89209263ba200d7df3c69b70b4 (patch) | |
tree | c9aaa3650d86d38c7e79361a4490da638fbb6b60 | |
parent | eb09591517adc04f4f5097f84ec500cce3025dd8 (diff) | |
download | ltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.tar.gz ltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.tar.bz2 ltrace-daac7cac98b5be89209263ba200d7df3c69b70b4.zip |
Drop uses of #pragma once
-rw-r--r-- | dwarf_prototypes.h | 5 | ||||
-rw-r--r-- | ltrace.1 | 1 |
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 */ @@ -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 |