diff options
author | unknown <konstantin@mysql.com> | 2004-08-05 14:16:43 -0700 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-08-05 14:16:43 -0700 |
commit | 9919574acfe36f2841dae33c729367658cc84078 (patch) | |
tree | 9397442b1136ff001e87120f0c52fde79df7dbc5 /sql | |
parent | 61528cf2d8ecb68e6c10f50e06678043db668565 (diff) | |
download | mariadb-git-9919574acfe36f2841dae33c729367658cc84078.tar.gz |
Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h,
the second is for the rest of time declarations in mysys.
include/my_time.h:
New declarations moved from mysql_time.h
include/mysql_time.h:
New declarations moved to my_time.h.
sql/tztime.cc:
Enforcing Monty's approach to header files.
sql/tztime.h:
Enforcing Monty's approach to header files: everything is included in
one place.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/tztime.cc | 1 | ||||
-rw-r--r-- | sql/tztime.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index aab0d36b61e..2ed55f2fa4e 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -32,6 +32,7 @@ #include "mysql_priv.h" #else #include <my_global.h> +#include <my_time.h> #include "tztime.h" #include <my_sys.h> #endif diff --git a/sql/tztime.h b/sql/tztime.h index 9df5f965f34..69ff176326e 100644 --- a/sql/tztime.h +++ b/sql/tztime.h @@ -19,8 +19,6 @@ #pragma interface /* gcc class interface */ #endif -#include <mysql_time.h> - #if !defined(TESTTIME) && !defined(TZINFO2SQL) /* |