summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-07-19 15:19:23 +0000
committermarkm <markm@FreeBSD.org>2002-07-19 15:19:23 +0000
commitb2c9482532dab6b8837b0b4beaa610d38447a0bf (patch)
tree3dc0ca9f1cf6d893b449c5820c718f6809b638a7 /usr.bin
parent31fbc209c3e090fa1e862a793819254a961fcd2e (diff)
parente290933e4df6d61f2d413de8d779ad151eca4708 (diff)
downloadFreeBSD-src-b2c9482532dab6b8837b0b4beaa610d38447a0bf.zip
FreeBSD-src-b2c9482532dab6b8837b0b4beaa610d38447a0bf.tar.gz
This commit was generated by cvs2svn to compensate for changes in r100360,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/xlint/common/lint.h2
-rw-r--r--usr.bin/xlint/common/param.h11
2 files changed, 3 insertions, 10 deletions
diff --git a/usr.bin/xlint/common/lint.h b/usr.bin/xlint/common/lint.h
index c73f73c..c50d28d 100644
--- a/usr.bin/xlint/common/lint.h
+++ b/usr.bin/xlint/common/lint.h
@@ -1,4 +1,4 @@
-/* $NetBSD: lint.h,v 1.3 2002/01/31 22:44:00 tv Exp $ */
+/* $NetBSD: lint.h,v 1.5 2002/03/07 18:29:56 tv Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
diff --git a/usr.bin/xlint/common/param.h b/usr.bin/xlint/common/param.h
index 46f7326..5a28ce4 100644
--- a/usr.bin/xlint/common/param.h
+++ b/usr.bin/xlint/common/param.h
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.1 2002/01/18 20:39:24 thorpej Exp $ */
+/* $NetBSD: param.h,v 1.2 2002/02/05 03:04:26 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -67,11 +67,9 @@
#define WCHAR INT
/*
- * long double only in ANSI C.
- *
* And the sparc64 long double code generation is broken.
*/
-#if !defined(__sparc64__) && defined(__STDC__)
+#if !defined(__sparc64__)
typedef long double ldbl_t;
#else
typedef double ldbl_t;
@@ -80,9 +78,4 @@ typedef double ldbl_t;
/*
* Some traditional compilers are not able to assign structures.
*/
-#ifdef __STDC__
#define STRUCT_ASSIGN(dest, src) (dest) = (src)
-#else
-#define STRUCT_ASSIGN(dest, src) (void)memcpy(&(dest), &(src), \
- sizeof (dest));
-#endif
OpenPOWER on IntegriCloud