~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_fn_ext.cc

  • Committer: Monty Taylor
  • Date: 2009-10-06 19:20:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20091006192036-3n7cu7gumica4bkz
Added missing include guards. Removed server_includes.h from header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
 
 
16
 
#include "config.h"
17
 
 
18
 
#include "drizzled/internal/my_sys.h"
19
 
#include "drizzled/internal/m_string.h"
20
 
 
21
 
namespace drizzled
22
 
{
23
 
namespace internal
24
 
{
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
 
 
16
 
 
17
#include "mysys/mysys_priv.h"
 
18
#include <mystrings/m_string.h>
25
19
 
26
20
/*
27
21
  Return a pointer to the extension of the filename.
56
50
  pos=strchr(gpos,FN_EXTCHAR);
57
51
  return((char*) (pos ? pos : strchr(gpos, '\0')));
58
52
} /* fn_ext */
59
 
 
60
 
} /* namespace internal */
61
 
} /* namespace drizzled */