diff options
author | David Sommerseth | 2016-12-14 22:33:21 +0100 |
---|---|---|
committer | David Sommerseth | 2016-12-14 22:33:49 +0100 |
commit | 81d882d5302b8b647202a6893b57dfdc61fd6df2 (patch) | |
tree | a77464fe53e45fd843fcee2ff008bcf4f6482d56 /src/openvpn/perf.h | |
parent | 2417d55c4945d491e528dd0e4cf24047da5ceae9 (diff) | |
download | openvpn-81d882d5302b8b647202a6893b57dfdc61fd6df2.zip openvpn-81d882d5302b8b647202a6893b57dfdc61fd6df2.tar.gz |
The Great Reformatting - first phase
This is the first commit of the big reformatting task. This
is performed by running the ./dev-tools/reformat-all.sh script.
This is based upon the v3 reformat-all.sh/uncrustify.conf version
which is now applied to git master.
Signed-off-by: David Sommerseth <davids@openvpn.net>
Diffstat (limited to 'src/openvpn/perf.h')
-rw-r--r-- | src/openvpn/perf.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/src/openvpn/perf.h b/src/openvpn/perf.h index c531d9c..f277b1e 100644 --- a/src/openvpn/perf.h +++ b/src/openvpn/perf.h @@ -67,16 +67,24 @@ */ #define STACK_N 64 -void perf_push (int type); -void perf_pop (void); -void perf_output_results (void); +void perf_push(int type); -#else +void perf_pop(void); -static inline void perf_push (int type) {} -static inline void perf_pop (void) {} -static inline void perf_output_results (void) {} +void perf_output_results(void); -#endif +#else /* ifdef ENABLE_PERFORMANCE_METRICS */ -#endif +static inline void +perf_push(int type) { +} +static inline void +perf_pop(void) { +} +static inline void +perf_output_results(void) { +} + +#endif /* ifdef ENABLE_PERFORMANCE_METRICS */ + +#endif /* ifndef PERF_H */ |