Skip to content

Commit 77a7038

Browse files
tectonic/core-bridge: remove useless const qualifier
-Wignore-qualifier
1 parent 50bea01 commit 77a7038

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tectonic/core-bridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _tt_abort(const_string format, ...)
3434
longjmp(jump_buffer, 1);
3535
}
3636

37-
const const_string
37+
const_string
3838
tt_get_error_message(void)
3939
{
4040
return error_buf;

tectonic/core-bridge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ BEGIN_EXTERN_C
119119
/* These functions are not meant to be used in the C/C++ code. They define the
120120
* API that we expose to the Rust side of things. */
121121

122-
extern const const_string tt_get_error_message(void);
122+
extern const_string tt_get_error_message(void);
123123
extern int tex_simple_main(tt_bridge_api_t *api, char *dump_name, char *input_file_name);
124124
extern int dvipdfmx_simple_main(tt_bridge_api_t *api, char *dviname, char *pdfname);
125125
extern int bibtex_simple_main(tt_bridge_api_t *api, char *aux_file_name);

0 commit comments

Comments
 (0)