From 9b81638b503fb7deba4c557d3eeb51190c94aa8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 7 Aug 2000 17:54:20 +0200 Subject: [PATCH] Moved DO_NOT_WARN to global.h Rev: src/global.h:1.47 Rev: src/modules/Image/image.h:1.42 --- src/global.h | 4 +++- src/modules/Image/image.h | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/global.h b/src/global.h index f91b793972..2b831fca7a 100644 --- a/src/global.h +++ b/src/global.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: global.h,v 1.46 2000/08/03 16:18:49 grubba Exp $ + * $Id: global.h,v 1.47 2000/08/07 15:54:20 grubba Exp $ */ #ifndef GLOBAL_H #define GLOBAL_H @@ -325,6 +325,8 @@ typedef struct p_wchar_p #define DO_IF_SECURITY(X) #endif +/* Used by the AutoBuild system to mark known warnings. */ +#define DO_NOT_WARN(X) (X) #include "port.h" #include "dmalloc.h" diff --git a/src/modules/Image/image.h b/src/modules/Image/image.h index f8e61b4b8d..a43a756a35 100644 --- a/src/modules/Image/image.h +++ b/src/modules/Image/image.h @@ -1,7 +1,7 @@ /* **! module Image **! note -**! $Id: image.h,v 1.41 2000/08/07 13:40:47 grubba Exp $ +**! $Id: image.h,v 1.42 2000/08/07 15:54:20 grubba Exp $ */ #ifdef PIKE_IMAGE_IMAGE_H @@ -38,7 +38,6 @@ extern int image_cpuid; #define RGBL_TO_RGB(RGB,RGBL) (((RGB).r=COLORL_TO_COLOR((RGBL).r)),((RGB).g=COLORL_TO_COLOR((RGBL).g)),((RGB).b=COLORL_TO_COLOR((RGBL).b))) /* Some marcos to avoid loss of precision warnings. */ -#define DO_NOT_WARN(X) (X) #ifdef __ECL static inline int DOUBLE_TO_INT(double d) { -- GitLab