Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2007 02:59:45 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132015 for review
Message-ID:  <200712300259.lBU2xjJJ079392@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132015

Change 132015 by jb@jb_freebsd1 on 2007/12/30 02:59:24

	Some OpenSolaris code uses vcmn_err() so make it non-static and add
	a prototype for it.

Affected files ...

.. //depot/projects/dtrace/src/sys/compat/opensolaris/kern/opensolaris_cmn_err.c#2 edit
.. //depot/projects/dtrace/src/sys/compat/opensolaris/sys/cmn_err.h#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/compat/opensolaris/kern/opensolaris_cmn_err.c#2 (text+ko) ====

@@ -24,7 +24,7 @@
 
 #include <sys/cmn_err.h>
 
-static void
+void
 vcmn_err(int ce, const char *fmt, va_list adx)
 {
 	char buf[256];

==== //depot/projects/dtrace/src/sys/compat/opensolaris/sys/cmn_err.h#3 (text+ko) ====

@@ -45,6 +45,7 @@
 #define	CE_IGNORE	4	/* print nothing	*/
 
 void cmn_err(int, const char *, ...);
+void vcmn_err(int, const char *, va_list);
 
 #ifdef	__cplusplus
 }



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