add improper_ctypes_definitions lint

This commit is contained in:
auronandace
2026-02-14 16:48:39 +00:00
parent 0cf3f8af92
commit 2c53eb1f6d
6 changed files with 10 additions and 7 deletions
+4 -4
View File
@@ -282,11 +282,11 @@ pub extern "C" fn dup3(fildes: c_int, fildes2: c_int, flag: c_int) -> c_int {
///
/// # Deprecation
/// The `encrypt()` function was marked obsolescent in the Open Group Base Specifications Issue 8.
#[deprecated]
//#[deprecated]
// #[unsafe(no_mangle)]
pub extern "C" fn encrypt(block: [c_char; 64], edflag: c_int) {
unimplemented!();
}
//pub extern "C" fn encrypt(block: [c_char; 64], edflag: c_int) {
// unimplemented!();
//}
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html>.
#[unsafe(no_mangle)]