Skip to content

Commit f0fd31b

Browse files
committed
whoops
1 parent 244cf96 commit f0fd31b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/extra/defs.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,43 @@ use libc::{size_t, c_float};
66
#[link(name = "cbits")]
77
extern "C" {
88
#[link_name = "SYS_EAGAIN"]
9-
fn sys_eagain() -> i32;
9+
pub fn sys_eagain() -> i32;
1010
#[link_name = "SYS_AVERROR"]
11-
fn sys_sys_averror(code: i32) -> i32;
11+
pub fn sys_sys_averror(code: i32) -> i32;
1212
#[link_name = "SYS_AV_NOPTS_VALUE"]
13-
fn sys_av_nopts_value() -> i64;
13+
pub fn sys_av_nopts_value() -> i64;
1414
#[link_name = "SYS_AV_ERROR_MAX_STRING_SIZE"]
15-
fn av_error_max_string_size() -> c_int;
15+
pub fn av_error_max_string_size() -> c_int;
1616
#[link_name = "SYS_AVERROR_BSF_NOT_FOUND"]
17-
fn averror_bsf_not_found() -> c_int;
17+
pub fn averror_bsf_not_found() -> c_int;
1818
#[link_name = "SYS_AVERROR_BUG"]
19-
fn averror_bug() -> c_int;
19+
pub fn averror_bug() -> c_int;
2020
#[link_name = "SYS_AVERROR_BUFFER_TOO_SMALL"]
21-
fn averror_buffer_too_small() -> c_int;
21+
pub fn averror_buffer_too_small() -> c_int;
2222
#[link_name = "SYS_AVERROR_DECODER_NOT_FOUND"]
23-
fn averror_decoder_not_found() -> c_int;
23+
pub fn averror_decoder_not_found() -> c_int;
2424
#[link_name = "SYS_AVERROR_DEMUXER_NOT_FOUND"]
25-
fn averror_demuxer_not_found() -> c_int;
25+
pub fn averror_demuxer_not_found() -> c_int;
2626
#[link_name = "SYS_AVERROR_ENCODER_NOT_FOUND"]
27-
fn averror_encoder_not_found() -> c_int;
27+
pub fn averror_encoder_not_found() -> c_int;
2828
#[link_name = "SYS_AVERROR_EOF"]
29-
fn averror_eof() -> c_int;
29+
pub fn averror_eof() -> c_int;
3030
#[link_name = "SYS_AVERROR_EXIT"]
31-
fn averror_exit() -> c_int;
31+
pub fn averror_exit() -> c_int;
3232
#[link_name = "SYS_AVERROR_EXTERNAL"]
33-
fn averror_external() -> c_int;
33+
pub fn averror_external() -> c_int;
3434
#[link_name = "SYS_AVERROR_FILTER_NOT_FOUND"]
35-
fn averror_filter_not_found() -> c_int;
35+
pub fn averror_filter_not_found() -> c_int;
3636
#[link_name = "SYS_AVERROR_INVALIDDATA"]
37-
fn averror_invaliddata() -> c_int;
37+
pub fn averror_invaliddata() -> c_int;
3838
#[link_name = "SYS_AVERROR_MUXER_NOT_FOUND"]
39-
fn averror_muxer_not_found() -> c_int;
39+
pub fn averror_muxer_not_found() -> c_int;
4040
#[link_name = "SYS_AVERROR_OPTION_NOT_FOUND"]
41-
fn averror_option_not_found() -> c_int;
41+
pub fn averror_option_not_found() -> c_int;
4242
#[link_name = "SYS_AVERROR_PATCHWELCOME"]
43-
fn averror_patchwelcome() -> c_int;
43+
pub fn averror_patchwelcome() -> c_int;
4444
#[link_name = "SYS_AVERROR_PROTOCOL_NOT_FOUND"]
45-
fn averror_protocol_not_found() -> c_int;
45+
pub fn averror_protocol_not_found() -> c_int;
4646
#[link_name = "SYS_AVERROR_STREAM_NOT_FOUND"]
47-
fn averror_stream_not_found() -> c_int;
47+
pub fn averror_stream_not_found() -> c_int;
4848
}

0 commit comments

Comments
 (0)