remove unused C header

This commit is contained in:
auronandace
2026-04-29 08:09:37 +01:00
parent a7961e69d7
commit 798d929254
2 changed files with 1 additions and 21 deletions
-21
View File
@@ -1,21 +0,0 @@
#ifndef _GETOPT_H
#define _GETOPT_H
// Generated from:
// `grep "opt" target/include/unistd.h`
#ifdef __cplusplus
extern "C" {
#endif
extern char* optarg;
extern int opterr;
extern int optind;
extern int optopt;
int getopt(int argc, char *const *argv, const char *optstring);
#ifdef __cplusplus
} // extern "C"
#endif
#endif
+1
View File
@@ -11,6 +11,7 @@ use crate::{
};
use core::ptr;
/// cbindgen:ignore
static mut CURRENT_OPT: *mut c_char = ptr::null_mut();
/// Non-POSIX, see <https://www.man7.org/linux/man-pages/man3/getopt.3.html>.