HomeFreeBSD

Re-apply r359399: telnet -fno-common fix

Description

Re-apply r359399: telnet -fno-common fix

line and auth_level's redefinitions are just extraneous

telnetd will #define extern and then include ext.h to allocate storage for
all of these extern'd vars; however, two of them are actually defined in
libtelnet instead. Instead of doing an #ifdef extern dance around those
function pointers, just add an EXTERN macro to make it easier to
differentiate by sight which ones will get allocated in globals.c and which
ones are defined elsewhere.

MFC after: 3 days

Details

Provenance
kevansAuthored on
Parents
rS359403: Revert 359399: telnet -fno-common bits
Branches
Unknown
Tags
Unknown