Page MenuHomeFreeBSD

mail: Use a C89 function pointer type for command functions.
ClosedPublic

Authored by jhb on Apr 12 2023, 3:33 PM.
Tags
None
Referenced Files
F97747857: D39527.diff
Tue, Oct 1, 2:19 AM
Unknown Object (File)
Thu, Sep 19, 2:54 PM
Unknown Object (File)
Thu, Sep 19, 1:21 AM
Unknown Object (File)
Wed, Sep 18, 4:40 AM
Unknown Object (File)
Wed, Sep 18, 2:20 AM
Unknown Object (File)
Tue, Sep 17, 3:03 AM
Unknown Object (File)
Mon, Sep 16, 6:02 PM
Unknown Object (File)
Aug 31 2024, 11:06 PM
Subscribers

Details

Summary

The command function is defined to always take a void *. Functions
which accept a pointer to an array of pointers use a local temporary
'argv' assigned from the void *arg.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 50858
Build 47749: arc lint + arc unit