Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2006 12:34:28 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 104211 for review
Message-ID:  <200608161234.k7GCYSAu057464@repoman.freebsd.org>

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

Change 104211 by rwatson@rwatson_zoo on 2006/08/16 12:33:42

	Rename MAX_ARGS and MAX_ENV by inserting BSM_ in front, in order to
	reduce the chances of a name space collision.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#23 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#23 (text+ko) ====

@@ -26,7 +26,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#22 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#23 $
  */
 
 #ifndef _LIBBSM_H_
@@ -37,8 +37,8 @@
  * solely to allow OpenSSH to compile; Darwin/Apple code should not use them.
  */
 
-#define	MAX_ARGS	10
-#define	MAX_ENV		10
+#define	BSM_MAX_ARGS	10
+#define	BSM_MAX_ENV		10
 
 #include <sys/types.h>
 #include <sys/cdefs.h>
@@ -227,7 +227,7 @@
  */
 typedef struct {
 	u_int32_t	 count;
-	char		*text[MAX_ARGS];
+	char		*text[BSM_MAX_ARGS];
 } au_execarg_t;
 
 /*
@@ -236,7 +236,7 @@
  */
 typedef struct {
 	u_int32_t	 count;
-	char		*text[MAX_ENV];
+	char		*text[BSM_MAX_ENV];
 } au_execenv_t;
 
 /*



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