Avoid warning from OSF/1 C compiler.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Jan 2009 22:31:44 +0000 (23:31 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Jan 2009 22:31:44 +0000 (23:31 +0100)
ChangeLog
lib/glthread/threadlib.c

index 81f8f80..7d37a91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-01-25  Bruno Haible  <bruno@clisp.org>
 
+       * lib/glthread/threadlib.c (dummy): New declaration.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
        * lib/mbrtowc.c (mbrtowc): Distinguish invalid and incomplete
        multibyte characters also for the GB18030 encoding. Don't crash when
        the encoding is unknown and nstate = 0. Needed on OSF/1 5.1.
index c121952..fe7a2cf 100644 (file)
@@ -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;