From: Bruno Haible Date: Sun, 25 Jan 2009 22:31:44 +0000 (+0100) Subject: Avoid warning from OSF/1 C compiler. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49eede474493e4f3a2144b01ecc0f81e6781c34d;p=pspp Avoid warning from OSF/1 C compiler. --- diff --git a/ChangeLog b/ChangeLog index 81f8f804bd..7d37a91cc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-01-25 Bruno Haible + + * lib/glthread/threadlib.c (dummy): New declaration. + 2009-01-25 Bruno Haible * lib/mbrtowc.c (mbrtowc): Distinguish invalid and incomplete diff --git a/lib/glthread/threadlib.c b/lib/glthread/threadlib.c index c121952893..fe7a2cf8c1 100644 --- a/lib/glthread/threadlib.c +++ b/lib/glthread/threadlib.c @@ -1,5 +1,5 @@ /* Multithreading primitives. - Copyright (C) 2005-2008 Free Software Foundation, Inc. + Copyright (C) 2005-2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -67,3 +67,7 @@ glthread_in_use (void) #endif /* ========================================================================= */ + +/* This declaration is solely to ensure that after preprocessing + this file is never empty. */ +typedef int dummy;