summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
Diffstat (limited to 'mysys')
-rw-r--r--mysys/hash.c2
-rw-r--r--mysys/my_gethwaddr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index 1296a9289e9..cf0f1d2dde6 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -83,7 +83,7 @@ _hash_init(HASH *hash,CHARSET_INFO *charset,
Sets records to 0
*/
-static void inline hash_free_elements(HASH *hash)
+static inline void hash_free_elements(HASH *hash)
{
if (hash->free)
{
diff --git a/mysys/my_gethwaddr.c b/mysys/my_gethwaddr.c
index 72f1cb975c4..222abe81933 100644
--- a/mysys/my_gethwaddr.c
+++ b/mysys/my_gethwaddr.c
@@ -107,7 +107,7 @@ my_bool my_gethwaddr(uchar *to __attribute__((unused)))
}
#endif
-#else MAIN
+#else /* MAIN */
int main(int argc __attribute__((unused)),char **argv)
{
uchar mac[6];