/*
* Copyright (c) 1996-1999 University of Utah and the Flux Group.
* All rights reserved.
- *
+ *
* This file is part of the Flux OSKit. The OSKit is free software, also known
* as "open source;" you can redistribute it and/or modify it under the terms
* of the GNU General Public License (GPL), version 2, as published by the Free
* Software Foundation (FSF). To explore alternate licensing terms, contact
* the University of Utah at csl-dist@cs.utah.edu or +1-801-585-3271.
- *
+ *
* The OSKit is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GPL for more details. You should have
GENERIC_SPL(clock)
GENERIC_SPL(tty)
GENERIC_SPL(softtty)
-/*
+/*
* this is used to reduce the clock spl to a softclock spl before
* calling the softclock handler directly. It will never call splx!
*/
/*
* functions to save and restore the current cpl
*/
-static __inline void save_cpl(unsigned *x)
+static __inline void save_cpl(unsigned *x)
{
*x = oskit_freebsd_cpl;
}
-static __inline void restore_cpl(unsigned x)
+static __inline void restore_cpl(unsigned x)
{
oskit_freebsd_cpl = x;
}
static int splhigh() { return 0; }
static int splimp() { return 0; }
static int splnet() { return 0; }
-static int splx() { return 0; }
+static int splx(x) { return 0; }
static int splclock() { return 0; }
#elif defined(__GNUC__)