freebsd_network: Add stub epoch.h.

We don't have a need for these APIs, so we can leave them as dummies.
This commit is contained in:
Augustin Cavalier
2022-02-25 15:36:56 -05:00
parent 9467237d25
commit 4e02cb0d87
@@ -0,0 +1,17 @@
/*
* Copyright 2022, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _FBSD_COMPAT_SYS_EPOCH_H_
#define _FBSD_COMPAT_SYS_EPOCH_H_
struct epoch_tracker {
int dummy;
};
#define NET_EPOCH_ENTER(et)
#define NET_EPOCH_EXIT(et)
#endif /* _FBSD_COMPAT_SYS_EPOCH_H_ */