summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_stats.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-22 07:43:53 +0000
committerbde <bde@FreeBSD.org>1995-11-22 07:43:53 +0000
commit825daf3e3289f2ab37f6f075a4eb4270b8f846c2 (patch)
tree283999b082c94c12b3962535722ff43fa3b41aa0 /sys/compat/linux/linux_stats.c
parent7eaa0694de90a85e4ba79d7bbd0b091b68f40446 (diff)
downloadFreeBSD-src-825daf3e3289f2ab37f6f075a4eb4270b8f846c2.zip
FreeBSD-src-825daf3e3289f2ab37f6f075a4eb4270b8f846c2.tar.gz
Completed function declarations and added prototypes.
Removed some unnecessary #includes. Fixed warnings about nested externs.
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
-rw-r--r--sys/compat/linux/linux_stats.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c
index 95839e0..8756f09 100644
--- a/sys/compat/linux/linux_stats.c
+++ b/sys/compat/linux/linux_stats.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_stats.c,v 1.1 1995/06/25 17:32:42 sos Exp $
+ * $Id: linux_stats.c,v 1.2 1995/08/28 09:18:38 julian Exp $
*/
#include <sys/param.h>
@@ -36,14 +36,12 @@
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/namei.h>
+#include <sys/socketvar.h>
#include <sys/stat.h>
#include <sys/vnode.h>
-#include <machine/cpu.h>
-#include <machine/psl.h>
-#include <machine/reg.h>
-
#include <i386/linux/linux.h>
+#include <i386/linux/sysproto.h>
struct linux_newstat {
unsigned short stat_dev;
OpenPOWER on IntegriCloud