diff module.h @ 33:23a3ebcbf08e

Return a module instead of an int
author David Demelier <markand@malikania.fr>
date Sun, 25 Sep 2011 19:16:21 +0200
parents 726b181b8956
children f773c76b1f3c
line wrap: on
line diff
--- a/module.h	Sun Sep 25 19:15:55 2011 +0200
+++ b/module.h	Sun Sep 25 19:16:21 2011 +0200
@@ -44,8 +44,8 @@
 #endif
 };
 
-int	module_load(struct module *, const char *, int);
-int	module_find(struct module *, const char *);
-void	module_free(struct module *);
+struct module	*module_load(const char *, int);
+int		module_find(struct module *, const char *);
+void		module_free(struct module *);
 
 #endif /* _MODULE_H_ */