Because it gets used by libunwind-ptrace.

Signed-off-by: Ken Werner <[email protected]>
---
 src/os-freebsd.c |    4 ----
 src/os-hpux.c    |    4 ----
 src/os-linux.c   |    4 ----
 3 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/os-freebsd.c b/src/os-freebsd.c
index a315188..64fc933 100644
--- a/src/os-freebsd.c
+++ b/src/os-freebsd.c
@@ -22,8 +22,6 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 
AN ACTION
 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
-#ifndef UNW_REMOTE_ONLY
-
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/mman.h>
@@ -97,5 +95,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, 
unw_word_t ip,
   free_mem(buf, len1);
   return (ret);
 }
-
-#endif /* UNW_REMOTE_ONLY */
diff --git a/src/os-hpux.c b/src/os-hpux.c
index 1ba017f..11b1177 100644
--- a/src/os-hpux.c
+++ b/src/os-hpux.c
@@ -23,8 +23,6 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 
AN ACTION
 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
-#ifndef UNW_REMOTE_ONLY
-
 #include <dlfcn.h>
 #include <string.h>
 #include <unistd.h>
@@ -67,5 +65,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, 
unw_word_t ip,
 
   return elf_map_image (ei, path);
 }
-
-#endif /* UNW_REMOTE_ONLY */
diff --git a/src/os-linux.c b/src/os-linux.c
index 791b27e..bcc4036 100644
--- a/src/os-linux.c
+++ b/src/os-linux.c
@@ -23,8 +23,6 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 
AN ACTION
 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
-#ifndef UNW_REMOTE_ONLY
-
 #include <limits.h>
 #include <stdio.h>
 
@@ -63,5 +61,3 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, 
unw_word_t ip,
   maps_close (&mi);
   return rc;
 }
-
-#endif /* UNW_REMOTE_ONLY */
-- 
1.7.4.1


_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to