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 81f8f804bde4a642b7ac620536e4ac9618216274..7d37a91cc462e46536dae25aa813be08cdae33ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index c1219528934fb11b681034514f606bf17ab7712d..fe7a2cf8c1169975872593f6724da59bb46df358 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;