Module Name: src Committed By: pooka Date: Tue Oct 20 23:29:57 UTC 2009
Modified Files: src/sys/rump/net/lib/libshmif: if_shmem.c Log Message: use autogenerated prototype To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/rump/net/lib/libshmif/if_shmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/net/lib/libshmif/if_shmem.c diff -u src/sys/rump/net/lib/libshmif/if_shmem.c:1.8 src/sys/rump/net/lib/libshmif/if_shmem.c:1.9 --- src/sys/rump/net/lib/libshmif/if_shmem.c:1.8 Tue Oct 20 23:21:53 2009 +++ src/sys/rump/net/lib/libshmif/if_shmem.c Tue Oct 20 23:29:57 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: if_shmem.c,v 1.8 2009/10/20 23:21:53 pooka Exp $ */ +/* $NetBSD: if_shmem.c,v 1.9 2009/10/20 23:29:57 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.8 2009/10/20 23:21:53 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.9 2009/10/20 23:29:57 pooka Exp $"); #include <sys/param.h> #include <sys/fcntl.h> @@ -47,6 +47,7 @@ #include <rump/rumpuser.h> #include "rump_private.h" +#include "rump_net_private.h" #if 0 #define DPRINTF(x) rumpuser_dprintf x @@ -179,8 +180,6 @@ return advance(oldoff, 4 + oldlen); } -int rump_shmif_create(const char *, int *); /* XXX */ - int rump_shmif_create(const char *path, int *ifnum) {