summaryrefslogtreecommitdiff
path: root/src/benchmark.h
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-04-28 12:19:01 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2019-05-07 21:10:46 +0200
commit3cfc33248efc2414e7ee25260da02bb6fe9c20ea (patch)
tree82b39ba03f3577ff99eae85b1336cbfcf2d13678 /src/benchmark.h
parent8a8dbe77dd5c0a0d0809760ab7cebf8bfcdf051f (diff)
downloadgnutls-3cfc33248efc2414e7ee25260da02bb6fe9c20ea.tar.gz
Add or clean header guards in src/
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'src/benchmark.h')
-rw-r--r--src/benchmark.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/benchmark.h b/src/benchmark.h
index f449a576ed..2152e6edcf 100644
--- a/src/benchmark.h
+++ b/src/benchmark.h
@@ -17,6 +17,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+#ifndef GNUTLS_SRC_BENCHMARK_H
+#define GNUTLS_SRC_BENCHMARK_H
+
#include <sys/time.h>
#include <time.h>
#include <signal.h>
@@ -67,3 +70,5 @@ timespec_sub_ms(struct timespec *a, struct timespec *b)
{
return (a->tv_sec - b->tv_sec) * 1000 + (a->tv_nsec - b->tv_nsec) / (1000 * 1000);
}
+
+#endif /* GNUTLS_SRC_BENCHMARK_H */