aligned the usage of LOADER_UNLOAD macro with other sources

This commit is contained in:
matsutsuka 2009-07-09 18:24:56 +00:00
parent e0138add63
commit 9a752dab15
2 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* $Id: loader_arch.c,v 1.1 2007/11/28 09:41:41 matsutsuka Exp $ * $Id: loader_arch.c,v 1.2 2009/07/09 18:24:56 matsutsuka Exp $
* *
*/ */
@ -60,7 +60,7 @@ loader_arch_load(char *name, char *arg)
return LOADER_ERR_NOLOADER; return LOADER_ERR_NOLOADER;
} }
void void
loader_arch_unload(void *process_load) loader_arch_unload()
{ {
log_message("loader_arch_unload", name); log_message("loader_arch_unload", name);
} }

View file

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* $Id: loader_arch.h,v 1.1 2007/11/28 09:41:41 matsutsuka Exp $ * $Id: loader_arch.h,v 1.2 2009/07/09 18:24:56 matsutsuka Exp $
* *
*/ */
@ -44,7 +44,7 @@
#ifdef WITH_LOADER_ARCH #ifdef WITH_LOADER_ARCH
#define LOADER_LOAD(name, arg) loader_arch_load(name, arg) #define LOADER_LOAD(name, arg) loader_arch_load(name, arg)
#define LOADER_UNLOAD() loader_arch_unload((void *) process_load) #define LOADER_UNLOAD() loader_arch_unload()
#define LOADER_LOAD_DSC(name) loader_arch_load_dsc(name) #define LOADER_LOAD_DSC(name) loader_arch_load_dsc(name)
#define LOADER_UNLOAD_DSC(dsc) loader_arch_unload_dsc(dsc) #define LOADER_UNLOAD_DSC(dsc) loader_arch_unload_dsc(dsc)
@ -52,7 +52,7 @@
struct dsc *loader_arch_load_dsc(char *name); struct dsc *loader_arch_load_dsc(char *name);
unsigned char loader_arch_load(char *name, char *arg); unsigned char loader_arch_load(char *name, char *arg);
void loader_arch_unload(void *process_load); void loader_arch_unload();
void loader_arch_unload_dsc(struct dsc *dsc); void loader_arch_unload_dsc(struct dsc *dsc);
#endif /* WITH_LOADER_ARCH */ #endif /* WITH_LOADER_ARCH */