PERFORCE change 160460 for review

Bjoern A. Zeeb bz at FreeBSD.org
Fri Apr 10 13:24:30 PDT 2009


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

Change 160460 by bz at bz_dumpster on 2009/04/10 20:24:19

	Move the typedefs out from under #ifndef VIMAGE_GLOBALS
	as in uipc_domain.c we use vnet_attach_fn globally.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#34 edit

Differences ...

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

@@ -39,13 +39,13 @@
 #error "You cannot have both option VIMAGE and option VIMAGE_GLOBALS!"
 #endif
 
+typedef int vnet_attach_fn(const void *);
+typedef int vnet_detach_fn(const void *);
+
 #ifndef VIMAGE_GLOBALS
 
 struct kld_sym_lookup;
 
-typedef int vnet_attach_fn(const void *);
-typedef int vnet_detach_fn(const void *);
-
 struct vnet_symmap {
 	char	*name;
 	void	*base;


More information about the p4-projects mailing list