diff options
Diffstat (limited to 'gdb/target/waitstatus.h')
-rw-r--r-- | gdb/target/waitstatus.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/target/waitstatus.h b/gdb/target/waitstatus.h index 52be3907e35..8eee198f987 100644 --- a/gdb/target/waitstatus.h +++ b/gdb/target/waitstatus.h @@ -145,8 +145,7 @@ enum target_stop_reason /* Prototypes */ -/* Return a pretty printed form of target_waitstatus. - Space for the result is malloc'd, caller must free. */ -extern char *target_waitstatus_to_string (const struct target_waitstatus *); +/* Return a pretty printed form of target_waitstatus. */ +std::string target_waitstatus_to_string (const struct target_waitstatus *); #endif /* WAITSTATUS_H */ |