PERFORCE change 104211 for review
Robert Watson
rwatson at FreeBSD.org
Wed Aug 16 12:42:32 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104211
Change 104211 by rwatson at 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;
/*
More information about the trustedbsd-cvs
mailing list