lint.h (256281) | lint.h (281168) |
---|---|
1/* $NetBSD: lint.h,v 1.5 2002/03/07 18:29:56 tv Exp $ */ | 1/* $NetBSD: lint.h,v 1.7 2003/10/27 00:12:44 lukem Exp $ */ |
2 3/* 4 * Copyright (c) 1994, 1995 Jochen Pohl 5 * All Rights Reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 14 unchanged lines hidden (view full) --- 24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 2 3/* 4 * Copyright (c) 1994, 1995 Jochen Pohl 5 * All Rights Reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 14 unchanged lines hidden (view full) --- 24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 * 33 * $FreeBSD: stable/10/usr.bin/xlint/common/lint.h 281168 2015-04-06 19:56:27Z pfg $ |
|
32 */ 33 34#if HAVE_CONFIG_H 35#include "config.h" 36#else 37#define HAVE_DECL_SYS_SIGNAME 1 38#endif 39 --- 45 unchanged lines hidden (view full) --- 85 if pflag is set */ 86 tspec_t tt_styp; /* signed counterpart */ 87 tspec_t tt_utyp; /* unsigned counterpart */ 88 u_int tt_isityp : 1; /* 1 if integer type */ 89 u_int tt_isutyp : 1; /* 1 if unsigned integer type */ 90 u_int tt_isftyp : 1; /* 1 if floating point type */ 91 u_int tt_isatyp : 1; /* 1 if arithmetic type */ 92 u_int tt_issclt : 1; /* 1 if scalar type */ | 34 */ 35 36#if HAVE_CONFIG_H 37#include "config.h" 38#else 39#define HAVE_DECL_SYS_SIGNAME 1 40#endif 41 --- 45 unchanged lines hidden (view full) --- 87 if pflag is set */ 88 tspec_t tt_styp; /* signed counterpart */ 89 tspec_t tt_utyp; /* unsigned counterpart */ 90 u_int tt_isityp : 1; /* 1 if integer type */ 91 u_int tt_isutyp : 1; /* 1 if unsigned integer type */ 92 u_int tt_isftyp : 1; /* 1 if floating point type */ 93 u_int tt_isatyp : 1; /* 1 if arithmetic type */ 94 u_int tt_issclt : 1; /* 1 if scalar type */ |
93 char *tt_name; /* Bezeichnung des Typs */ | 95 const char *tt_name; /* Bezeichnung des Typs */ |
94} ttab_t; 95 96#define size(t) (ttab[t].tt_sz) 97#define psize(t) (ttab[t].tt_psz) 98#define styp(t) (ttab[t].tt_styp) 99#define utyp(t) (ttab[t].tt_utyp) 100#define isityp(t) (ttab[t].tt_isityp) 101#define isutyp(t) (ttab[t].tt_isutyp) --- 25 unchanged lines hidden --- | 96} ttab_t; 97 98#define size(t) (ttab[t].tt_sz) 99#define psize(t) (ttab[t].tt_psz) 100#define styp(t) (ttab[t].tt_styp) 101#define utyp(t) (ttab[t].tt_utyp) 102#define isityp(t) (ttab[t].tt_isityp) 103#define isutyp(t) (ttab[t].tt_isutyp) --- 25 unchanged lines hidden --- |