Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 03:10:39 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 161704 for review
Message-ID:  <200905070310.n473AdME090406@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=161704

Change 161704 by zec@zec_tpx32 on 2009/05/07 03:09:51

	Prune unnecessary forward declarations, s/space/tab/ where
	appropriate, prune unused struct fields.

Affected files ...

.. //depot/projects/vimage-commit/src/sys/sys/vimage.h#24 edit

Differences ...

==== //depot/projects/vimage-commit/src/sys/sys/vimage.h#24 (text+ko) ====

@@ -44,20 +44,15 @@
 #define	VNET_DEBUG
 #endif
 
-struct vimage;
 struct vprocg;
 struct vnet;
-struct vi_req;
 struct kld_sym_lookup;
-struct ifnet;
 
 typedef int vnet_attach_fn(const void *);
 typedef int vnet_detach_fn(const void *);
 
 #ifndef VIMAGE_GLOBALS
 
-struct kld_sym_lookup;
-
 struct vnet_symmap {
 	char	*name;
 	size_t	 offset;
@@ -190,7 +185,6 @@
 
 struct vprocg {
 	LIST_ENTRY(vprocg) vprocg_le;
-	u_int		vprocg_ref;	/* reference count */
 	u_int		vprocg_id;	/* ID num */
 	u_int		nprocs;
 	char		_hostname[MAXHOSTNAMELEN];
@@ -298,8 +292,8 @@
 #define	IS_DEFAULT_VIMAGE(arg)	((arg)->vi_id == 0)
 #define	IS_DEFAULT_VNET(arg)	((arg)->vnet_id == 0)
 #else
-#define	IS_DEFAULT_VIMAGE(arg) 1
-#define	IS_DEFAULT_VNET(arg) 1
+#define	IS_DEFAULT_VIMAGE(arg)	1
+#define	IS_DEFAULT_VNET(arg)	1
 #endif
 
 #ifdef VIMAGE


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905070310.n473AdME090406>