summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
committerMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
commitd47710c8dccd295428fa7547720f4a5d7311c413 (patch)
tree571e8400d55e9a1115d6fc07d5b8b67e5a5afc2f /mysys
parent124e830125a2964a60d01cf9df68ddc9caa70a0d (diff)
downloadmariadb-git-d47710c8dccd295428fa7547720f4a5d7311c413.tar.gz
WL#5016: Fix header file include guards
Adding header include file guards to files that are missing such.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_handler_errors.h3
-rw-r--r--mysys/my_static.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/mysys/my_handler_errors.h b/mysys/my_handler_errors.h
index c239cabb168..e4e62f47fed 100644
--- a/mysys/my_handler_errors.h
+++ b/mysys/my_handler_errors.h
@@ -1,3 +1,5 @@
+#ifndef MYSYS_MY_HANDLER_ERRORS_INCLUDED
+#define MYSYS_MY_HANDLER_ERRORS_INCLUDED
/*
Errors a handler can give you
@@ -66,3 +68,4 @@ static const char *handler_error_messages[]=
"Too many active concurrent transactions"
};
+#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */
diff --git a/mysys/my_static.h b/mysys/my_static.h
index 90168b099a8..c336115bc35 100644
--- a/mysys/my_static.h
+++ b/mysys/my_static.h
@@ -1,3 +1,6 @@
+#ifndef MYSYS_MY_STATIC_INCLUDED
+#define MYSYS_MY_STATIC_INCLUDED
+
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
@@ -72,3 +75,5 @@ extern ulonglong query_performance_frequency, query_performance_offset;
extern sigset_t my_signals; /* signals blocked by mf_brkhant */
#endif
C_MODE_END
+
+#endif /* MYSYS_MY_STATIC_INCLUDED */