Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/arch lint: fix typo in comment for target plat...



details:   https://anonhg.NetBSD.org/src/rev/96c277ca1600
branches:  trunk
changeset: 379913:96c277ca1600
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jun 27 08:43:46 2021 +0000

description:
lint: fix typo in comment for target platform definitions

diffstat:

 usr.bin/xlint/arch/aarch64/targparam.h   |  5 ++---
 usr.bin/xlint/arch/alpha/targparam.h     |  5 ++---
 usr.bin/xlint/arch/arm/targparam.h       |  5 ++---
 usr.bin/xlint/arch/coldfire/targparam.h  |  5 ++---
 usr.bin/xlint/arch/hppa/targparam.h      |  5 ++---
 usr.bin/xlint/arch/i386/targparam.h      |  5 ++---
 usr.bin/xlint/arch/ia64/targparam.h      |  5 ++---
 usr.bin/xlint/arch/m68000/targparam.h    |  5 ++---
 usr.bin/xlint/arch/m68k/targparam.h      |  5 ++---
 usr.bin/xlint/arch/mips/targparam.h      |  5 ++---
 usr.bin/xlint/arch/mips64/targparam.h    |  5 ++---
 usr.bin/xlint/arch/mipsn64/targparam.h   |  5 ++---
 usr.bin/xlint/arch/or1k/targparam.h      |  5 ++---
 usr.bin/xlint/arch/powerpc/targparam.h   |  5 ++---
 usr.bin/xlint/arch/powerpc64/targparam.h |  5 ++---
 usr.bin/xlint/arch/riscv32/targparam.h   |  5 ++---
 usr.bin/xlint/arch/riscv64/targparam.h   |  5 ++---
 usr.bin/xlint/arch/sh3/targparam.h       |  5 ++---
 usr.bin/xlint/arch/sparc/targparam.h     |  5 ++---
 usr.bin/xlint/arch/sparc64/targparam.h   |  5 ++---
 usr.bin/xlint/arch/vax/targparam.h       |  4 ++--
 usr.bin/xlint/arch/x86_64/targparam.h    |  5 ++---
 22 files changed, 44 insertions(+), 65 deletions(-)

diffs (truncated from 480 to 300 lines):

diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/aarch64/targparam.h
--- a/usr.bin/xlint/arch/aarch64/targparam.h    Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/aarch64/targparam.h    Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:40 rillig Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:46 rillig Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -36,11 +36,10 @@
 #include "lp64.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define INTPTR_TSPEC           LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/alpha/targparam.h
--- a/usr.bin/xlint/arch/alpha/targparam.h      Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/alpha/targparam.h      Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:40 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:46 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "lp64.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define INTPTR_TSPEC           LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/arm/targparam.h
--- a/usr.bin/xlint/arch/arm/targparam.h        Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/arm/targparam.h        Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:46 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define        INTPTR_TSPEC            LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/coldfire/targparam.h
--- a/usr.bin/xlint/arch/coldfire/targparam.h   Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/coldfire/targparam.h   Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.5 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.6 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           INT
 #define        SIZEOF_TSPEC            UINT
 #define        INTPTR_TSPEC            INT
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/hppa/targparam.h
--- a/usr.bin/xlint/arch/hppa/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/hppa/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define        INTPTR_TSPEC            LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/i386/targparam.h
--- a/usr.bin/xlint/arch/i386/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/i386/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           INT
 #define        SIZEOF_TSPEC            UINT
 #define        INTPTR_TSPEC            INT
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/ia64/targparam.h
--- a/usr.bin/xlint/arch/ia64/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/ia64/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.5 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.6 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "lp64.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define        INTPTR_TSPEC            LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/m68000/targparam.h
--- a/usr.bin/xlint/arch/m68000/targparam.h     Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/m68000/targparam.h     Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.6 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.7 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           INT
 #define        SIZEOF_TSPEC            UINT
 #define        INTPTR_TSPEC            INT
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/m68k/targparam.h
--- a/usr.bin/xlint/arch/m68k/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/m68k/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           INT
 #define        SIZEOF_TSPEC            UINT
 #define        INTPTR_TSPEC            INT
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/mips/targparam.h
--- a/usr.bin/xlint/arch/mips/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/mips/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:47 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #ifdef _LP64_X
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/mips64/targparam.h
--- a/usr.bin/xlint/arch/mips64/targparam.h     Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/mips64/targparam.h     Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:48 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -39,11 +39,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define        INTPTR_TSPEC            LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/mipsn64/targparam.h
--- a/usr.bin/xlint/arch/mipsn64/targparam.h    Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/mipsn64/targparam.h    Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.1 2021/04/30 21:51:48 christos Exp $   */
+/*     $NetBSD: targparam.h,v 1.2 2021/06/27 08:43:48 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -39,11 +39,10 @@
 #include "lp64.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           LONG
 #define        SIZEOF_TSPEC            ULONG
 #define        INTPTR_TSPEC            LONG
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/or1k/targparam.h
--- a/usr.bin/xlint/arch/or1k/targparam.h       Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/or1k/targparam.h       Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:42 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:48 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long
+ * Should be set to LONG if the difference of two pointers is of type long
  * or the value of sizeof is of type unsigned long.  Note this MUST be
  * kept in sync with the compiler!
  */
-
 #define        PTRDIFF_TSPEC           INT
 #define        SIZEOF_TSPEC            UINT
 #define        INTPTR_TSPEC            INT
diff -r e2be2e1c3e76 -r 96c277ca1600 usr.bin/xlint/arch/powerpc/targparam.h
--- a/usr.bin/xlint/arch/powerpc/targparam.h    Sun Jun 27 08:20:50 2021 +0000
+++ b/usr.bin/xlint/arch/powerpc/targparam.h    Sun Jun 27 08:43:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:42 rillig Exp $     */
+/*     $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:48 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,11 +38,10 @@
 #include "ilp32.h"
 
 /*
- * Should be set to 1 if the difference of two pointers is of type long



Home | Main Index | Thread Index | Old Index