Skip to content

Commit

Permalink
fn getopt_long: Replace with libc::getopt_long.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkysen committed Sep 25, 2023
1 parent 865adb5 commit 91997f3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tools/dav1d_cli_parse.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use libc::fprintf;
use libc::getopt_long;
use libc::memset;
use libc::option;
use libc::sprintf;
Expand Down Expand Up @@ -35,13 +36,6 @@ use std::process::exit;
extern "C" {
static mut optarg: *mut c_char;
static mut optind: c_int;
fn getopt_long(
___argc: c_int,
___argv: *const *mut c_char,
__shortopts: *const c_char,
__longopts: *const option,
__longind: *mut c_int,
) -> c_int;
fn vfprintf(_: *mut libc::FILE, _: *const c_char, _: ::core::ffi::VaList) -> c_int;
}

Expand Down

0 comments on commit 91997f3

Please sign in to comment.