From 0ab7d1a4f5a84c94ff7347e5b25130d4237bb5ff Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 26 Apr 2008 20:31:45 +0000 Subject: [PATCH] same change: double is emitted as '\0' --- usr.bin/xlint/lint2/emit2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/xlint/lint2/emit2.c b/usr.bin/xlint/lint2/emit2.c index 3769ef01c586..a918529fbd18 100644 --- a/usr.bin/xlint/lint2/emit2.c +++ b/usr.bin/xlint/lint2/emit2.c @@ -1,4 +1,4 @@ -/* $NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $ */ +/* $NetBSD: emit2.c,v 1.12 2008/04/26 20:31:45 christos Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -34,7 +34,7 @@ #include #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: emit2.c,v 1.11 2008/04/25 22:22:28 christos Exp $"); +__RCSID("$NetBSD: emit2.c,v 1.12 2008/04/26 20:31:45 christos Exp $"); #endif #include "lint2.h" @@ -80,7 +80,7 @@ outtype(type_t *tp) case STRUCT: t = 'T'; s = 's'; break; case UNION: t = 'T'; s = 'u'; break; case FCOMPLEX: t = 'X'; s = 's'; break; - case DCOMPLEX: t = 'X'; s = 'u'; break; + case DCOMPLEX: t = 'X'; s = '\0'; break; case FUNC: if (tp->t_args != NULL && !tp->t_proto) { t = 'f';