NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

missing function prototypes for orcmd() and orcmd_af()?




To: netbsd-users%netbsd.org@localhost

Subject: missing function prototypes for orcmd() and orcmd_af()?

From: Paolo Vincenzo Olivo <vins%NetBSD.org@localhost>

Date: Mon, 26 Jan 2026 18:34:43 +0000


Hi!

In the process of updating net/inetutils, which correctly uses
orcmd() on NetBSD, I discovered that unistd.h (on 10.1_STABLE) lacks
function prototypes for both orcmd() and orcmd_af().

With gcc14, the build fails due to implicit function declaration of
orcmd_af. Am I missing something?

As a side note, the build also fails later on as NetBSD is apparently
the only system to define the *telopts[] array in arpa/telnet.h as const
char instead of char.

-- 
PVO




Prev by Date: Re: WireGuard + /32 tunnel endpoint: incoming connections unreachable on NetBSD was: Wireguard woes

Next by Date: Re: WireGuard + /32 tunnel endpoint: incoming connections unreachable on NetBSD was: Wireguard woes

Previous by Thread: Ventoy alternative which boots NetBSD?

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index