changeset 11088:c8d99e7b214a

Avoid warning from OSF/1 C compiler.
author Bruno Haible <bruno@clisp.org>
date Sun, 25 Jan 2009 23:31:44 +0100
parents 05091c173f76
children 43ca345955b3
files ChangeLog lib/glthread/threadlib.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 @@
 #endif
 
 /* ========================================================================= */
+
+/* This declaration is solely to ensure that after preprocessing
+   this file is never empty.  */
+typedef int dummy;