Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 use unsigned char instead of uint8_t, ea...



details:   https://anonhg.NetBSD.org/src/rev/487ea0be9216
branches:  trunk
changeset: 761737:487ea0be9216
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 06 18:28:22 2011 +0000

description:
use unsigned char instead of uint8_t, easier for portability

diffstat:

 usr.bin/xlint/lint1/mkops |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d426801b89a1 -r 487ea0be9216 usr.bin/xlint/lint1/mkops
--- a/usr.bin/xlint/lint1/mkops Sun Feb 06 18:26:51 2011 +0000
+++ b/usr.bin/xlint/lint1/mkops Sun Feb 06 18:28:22 2011 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: mkops,v 1.4 2011/02/05 19:10:40 christos Exp $
+#      $NetBSD: mkops,v 1.5 2011/02/06 18:28:22 christos Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -70,7 +70,7 @@
                printf("mod_t modtab[NOPS];\n");
                printf("static const struct {\n");
                printf("\tmod_t\tm;\n");
-               printf("\tuint8_t\tok;\n");
+               printf("\tunsigned char\tok;\n");
                printf("} imods[] = {\n");
        }
 }



Home | Main Index | Thread Index | Old Index