diff options
Diffstat (limited to 'gdb/rust-lang.h')
-rw-r--r-- | gdb/rust-lang.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rust-lang.h b/gdb/rust-lang.h index 61547d7..4d07c48 100644 --- a/gdb/rust-lang.h +++ b/gdb/rust-lang.h @@ -43,7 +43,7 @@ extern std::string rust_crate_for_block (const struct block *block); is the type of the elements of the slice. USIZE_TYPE is the Rust "usize" type to use. The new type is allocated whereever ELT_TYPE is allocated. */ -struct type *rust_slice_type (const char *name, struct type *elt_type, - struct type *usize_type); +extern struct type *rust_slice_type (const char *name, struct type *elt_type, + struct type *usize_type); #endif /* RUST_LANG_H */ |