forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user