I noticed that one function in rust-lang.h was not declared using
"extern". In the interested of uniformity, this patch adds it.
Tested by rebuilding.
2017-10-02 Tom Tromey <tom@tromey.com>
* rust-lang.h (rust_slice_type): Add "extern".
+2017-10-02 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.h (rust_slice_type): Add "extern".
+
2017-10-02 Tom Tromey <tom@tromey.com>
Pedro Alves <palves@redhat.com>
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 */