diff options
author | Tom Tromey <tom@tromey.com> | 2023-11-06 09:31:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-06 20:31:12 -0700 |
commit | cf0d07fd07117934750e4bb94cfc0349e251afae (patch) | |
tree | 65c293cdc7e8b9e1b4a8c9926bde010f34678403 /gdbsupport/gdb_proc_service.h | |
parent | e0da5ef09c56eec9cffee9683a6258998802a428 (diff) | |
download | fsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.zip fsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.tar.gz fsf-binutils-gdb-cf0d07fd07117934750e4bb94cfc0349e251afae.tar.bz2 |
Remove EXTERN_C and related defines
common-defs.h has a few defines that I suspect were used during the
transition to C++. These aren't needed any more, so remove them.
Tested by rebuilding.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdbsupport/gdb_proc_service.h')
-rw-r--r-- | gdbsupport/gdb_proc_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdbsupport/gdb_proc_service.h b/gdbsupport/gdb_proc_service.h index 19d40e0..c289e87 100644 --- a/gdbsupport/gdb_proc_service.h +++ b/gdbsupport/gdb_proc_service.h @@ -25,11 +25,11 @@ /* glibc's proc_service.h doesn't wrap itself with extern "C". Need to do it ourselves. */ -EXTERN_C_PUSH +extern "C" { #include <proc_service.h> -EXTERN_C_POP +} #else /* HAVE_PROC_SERVICE_H */ @@ -69,7 +69,7 @@ EXTERN_C_POP # endif #endif -EXTERN_C_PUSH +extern "C" { /* Functions in this interface return one of these status codes. */ typedef enum @@ -166,7 +166,7 @@ extern ps_err_e ps_lsetxregs (struct ps_prochandle *ph, lwpid_t lwpid, /* Log a message (sends to gdb_stderr). */ extern void ps_plog (const char *fmt, ...); -EXTERN_C_POP +} #endif /* HAVE_PROC_SERVICE_H */ |