diff options
author | pfg <pfg@FreeBSD.org> | 2012-09-02 22:23:23 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-09-02 22:23:23 +0000 |
commit | fb077b00b0a2455b2108feeb4f173ea2706f697c (patch) | |
tree | bfbbe261693a70827db52029f30608eb237280cd /include/rpc/auth_unix.h | |
parent | 97adc861835d3d63fcfabaf559955e91c3bdd543 (diff) | |
download | FreeBSD-src-fb077b00b0a2455b2108feeb4f173ea2706f697c.zip FreeBSD-src-fb077b00b0a2455b2108feeb4f173ea2706f697c.tar.gz |
Revert r240060: (Partial)
__BEGIN_DECLS and __END_DECLS in cdefs.h take care of the
__cplusplus mangling issues so most of the definitions
were redundant.
In the few places where they were not redundant we should
use BSD style instead of the guards used upstream.
Reported by: Yuri Pankov
Diffstat (limited to 'include/rpc/auth_unix.h')
-rw-r--r-- | include/rpc/auth_unix.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h index 5a26c64..08e1569 100644 --- a/include/rpc/auth_unix.h +++ b/include/rpc/auth_unix.h @@ -48,10 +48,6 @@ #define _RPC_AUTH_UNIX_H #include <sys/cdefs.h> -#ifdef __cplusplus -extern "C" { -#endif - /* The machine name is part of a credential; it may not exceed 255 bytes */ #define MAX_MACHINE_NAME 255 @@ -85,8 +81,4 @@ struct short_hand_verf { struct opaque_auth new_cred; }; -#ifdef __cplusplus -} -#endif - #endif /* !_RPC_AUTH_UNIX_H */ |