From daac7cac98b5be89209263ba200d7df3c69b70b4 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 31 Jul 2014 11:37:09 +0200 Subject: [PATCH] Drop uses of #pragma once --- dwarf_prototypes.h | 5 ++++- 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 #include @@ -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 -- 2.7.4