PERFORCE change 99369 for review

Robert Watson rwatson at FreeBSD.org
Fri Jun 16 20:30:37 UTC 2006


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

Change 99369 by rwatson at rwatson_pemaquid on 2006/06/16 20:30:33

	Use inttypes.h, this is more universally available than stdint.h
	(i.e., FreeBSD 4.x).

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#21 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_notify.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#21 (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#20 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#21 $
  */
 
 #ifndef _LIBBSM_H_
@@ -43,7 +43,7 @@
 #include <sys/types.h>
 #include <sys/cdefs.h>
 
-#include <stdint.h>		/* Required for audit.h. */
+#include <inttypes.h>		/* Required for audit.h. */
 #include <time.h>		/* Required for clock_t on Linux. */
 
 #include <bsm/audit.h>

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_notify.c#12 (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/libbsm/bsm_notify.c#11 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_notify.c#12 $
  */
 
 /*
@@ -45,7 +45,7 @@
 #include <bsm/libbsm.h>
 
 #include <errno.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdarg.h>
 #include <string.h>
 #include <syslog.h>


More information about the p4-projects mailing list