From 544d2dedef0f77238f28980e4eb7948c4e119a51 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Tue, 7 Aug 2007 00:54:22 +0000 Subject: [PATCH] moved mkdir from amxmodx.inc to file.inc --- plugins/include/amxmodx.inc | 3 --- plugins/include/file.inc | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 5ec2f897..4b0ea66c 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -733,9 +733,6 @@ native require_module(const module[]); native is_amd64_server(); -/* Returns 0 on success, like the POSIX specification */ -native mkdir(const dirname[]); - /* Returns plugin id searched by file/name. Returns INVALID_PLUGIN_ID on failure. */ native find_plugin_byfile(const filename[], ignoreCase=1); diff --git a/plugins/include/file.inc b/plugins/include/file.inc index bf439912..fedd2c2d 100755 --- a/plugins/include/file.inc +++ b/plugins/include/file.inc @@ -104,6 +104,10 @@ native filesize(const filename[], any:...); // operating systems. native rmdir(const path[]); +/* Returns 0 on success, like the POSIX specification */ +native mkdir(const dirname[]); + + //Delete a file (delete_file macro) native unlink(const filename[]);