diff options
| author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2019-09-26 09:25:02 +0000 |
|---|---|---|
| committer | Andy Fiddaman <omnios@citrus-it.co.uk> | 2019-09-27 15:29:09 +0000 |
| commit | 8f97fda43d3ec24e515449b83c8a970b9042030a (patch) | |
| tree | 2591d470a669ee65937f27dc1b51401b62849bdd /usr/src | |
| parent | 814dcd43c3de9925fd6226c256e4d4327841a0e1 (diff) | |
| download | illumos-joyent-8f97fda43d3ec24e515449b83c8a970b9042030a.tar.gz | |
11752 inet/cc.h should be shipped
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Matthias Scheler <matthias.scheler@wdc.com>
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/pkg/manifests/system-header.mf | 1 | ||||
| -rw-r--r-- | usr/src/uts/common/inet/cc.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/pkg/manifests/system-header.mf b/usr/src/pkg/manifests/system-header.mf index acefdb0222..12f1a5a4df 100644 --- a/usr/src/pkg/manifests/system-header.mf +++ b/usr/src/pkg/manifests/system-header.mf @@ -402,6 +402,7 @@ file path=usr/include/idmap.h file path=usr/include/ieeefp.h file path=usr/include/ifaddrs.h file path=usr/include/inet/arp.h +file path=usr/include/inet/cc.h file path=usr/include/inet/common.h file path=usr/include/inet/ip.h file path=usr/include/inet/ip6.h diff --git a/usr/src/uts/common/inet/cc.h b/usr/src/uts/common/inet/cc.h index 170d0e7f8b..d92535cd48 100644 --- a/usr/src/uts/common/inet/cc.h +++ b/usr/src/uts/common/inet/cc.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2007-2008 - * Swinburne University of Technology, Melbourne, Australia. + * Swinburne University of Technology, Melbourne, Australia. * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org> * Copyright (c) 2010 The FreeBSD Foundation * All rights reserved. @@ -52,6 +52,8 @@ #ifndef _NETINET_CC_H_ #define _NETINET_CC_H_ +#if (defined(_KERNEL) || defined(_KMEMUSER)) + #ifdef __cplusplus extern "C" { #endif @@ -211,4 +213,6 @@ extern int cc_walk_algos(cc_walk_func_t *, void *); } #endif +#endif /* (defined(_KERNEL) || defined(_KMEMUSER)) */ + #endif /* _NETINET_CC_H_ */ |
