summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux/linux_sysvec.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
committerbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
commit51ad68ca2dc312183239c0c5b885cbd8b08ca376 (patch)
treeb628fb0bc9eaf5469ac1ddf218f5e0f6debcab31 /sys/alpha/linux/linux_sysvec.c
parent1ffd64f1345cc5467a666cb99769107c028c1983 (diff)
downloadFreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.zip
FreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.tar.gz
Finished updating module event handlers to be compatible with
modeventhand_t.
Diffstat (limited to 'sys/alpha/linux/linux_sysvec.c')
-rw-r--r--sys/alpha/linux/linux_sysvec.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index cf8c021..b088f0f 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.36 1998/10/11 21:08:02 alex Exp $
+ * $Id: linux_sysvec.c,v 1.37 1998/10/16 03:55:00 peter Exp $
*/
/* XXX we use functions that might not exist. */
@@ -448,14 +448,8 @@ Elf32_Brandinfo *linux_brandlist[] = {
NULL
};
-/*
- * XXX: this is WRONG, it needs to be SI_SUB_EXEC, but this is just at the
- * "proof of concept" stage and will be fixed shortly
- */
-static int linux_elf_modevent __P((module_t mod, modeventtype_t type, void *data));
-
static int
-linux_elf_modevent(module_t mod, modeventtype_t type, void *data)
+linux_elf_modevent(module_t mod, int type, void *data)
{
Elf32_Brandinfo **brandinfo;
int error;
OpenPOWER on IntegriCloud