Minor style nits
Use full copyright year. Remove 'All Rights Reserved' from new file (rights holder OK'd) Minor #ifdef motion and #endif tagging Remove __FBSDID macro from comments Sponsored by: Netflix OK'd by: rrs@
This commit is contained in:
parent
5e37f7b367
commit
603bbd0631
@ -1,6 +1,5 @@
|
|||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016-8
|
* Copyright (c) 2016-2018 Netflix Inc.
|
||||||
* Netflix Inc. All rights reserved.
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
#ifndef __tcp_hpts_h__
|
|
||||||
#define __tcp_hpts_h__
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016-8
|
* Copyright (c) 2016-18 Netflix Inc.
|
||||||
* Netflix Inc. All rights reserved.
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -25,9 +22,12 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* __FBSDID("$FreeBSD$")
|
* $FreeBSD$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __tcp_hpts_h__
|
||||||
|
#define __tcp_hpts_h__
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The hpts uses a 102400 wheel. The wheel
|
* The hpts uses a 102400 wheel. The wheel
|
||||||
* defines the time in 10 usec increments (102400 x 10).
|
* defines the time in 10 usec increments (102400 x 10).
|
||||||
@ -300,5 +300,5 @@ tcp_get_usecs(struct timeval *tv)
|
|||||||
return (tcp_tv_to_usectick(tv));
|
return (tcp_tv_to_usectick(tv));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif /* _KERNEL */
|
||||||
#endif
|
#endif /* __tcp_hpts_h__ */
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#ifndef __kern_prefetch_h__
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016-8
|
* Copyright (c) 2016-2018 Netflix Inc.
|
||||||
* Netflix Inc. All rights reserved.
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -24,8 +22,9 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* __FBSDID("$FreeBSD$")
|
* $FreeBSD$
|
||||||
*/
|
*/
|
||||||
|
#ifndef __kern_prefetch_h__
|
||||||
#define __kern_prefetch_h__
|
#define __kern_prefetch_h__
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
|
||||||
@ -39,5 +38,5 @@ kern_prefetch(const volatile void *addr, void* before)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif /* _KERNEL */
|
||||||
#endif
|
#endif /* __kern_prefetch_h__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user