summaryrefslogtreecommitdiff
path: root/lib/fpending.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fpending.h')
-rw-r--r--lib/fpending.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/fpending.h b/lib/fpending.h
index bf40d373..dd607fe2 100644
--- a/lib/fpending.h
+++ b/lib/fpending.h
@@ -1,6 +1,6 @@
/* Declare __fpending.
- Copyright (C) 2000, 2003, 2005-2006, 2009-2013 Free Software Foundation,
+ Copyright (C) 2000, 2003, 2005-2006, 2009-2014 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -20,11 +20,10 @@
#include <stddef.h>
#include <stdio.h>
+#if HAVE_STDIO_EXT_H
+# include <stdio_ext.h>
+#endif
-#if HAVE_DECL___FPENDING
-# if HAVE_STDIO_EXT_H
-# include <stdio_ext.h>
-# endif
-#else
-size_t __fpending (FILE *);
+#if !HAVE_DECL___FPENDING
+size_t __fpending (FILE *) _GL_ATTRIBUTE_PURE;
#endif