change log for rtems (2011-02-24)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Feb 24 16:10:56 UTC 2011


 *ralf*:
2011-02-24	Ralf Corsépius <ralf.corsepius at rtems.org>

	* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
	(unused). Add C++ guards. Declare functions extern.

M 1.2743  cpukit/ChangeLog
M    1.2  cpukit/libcsupport/include/sys/statvfs.h

diff -u rtems/cpukit/ChangeLog:1.2742 rtems/cpukit/ChangeLog:1.2743
--- rtems/cpukit/ChangeLog:1.2742	Thu Feb 24 09:10:06 2011
+++ rtems/cpukit/ChangeLog	Thu Feb 24 09:48:05 2011
@@ -1,5 +1,10 @@
 2011-02-24	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
+	(unused). Add C++ guards. Declare functions extern.
+
+2011-02-24	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* posix/include/rtems/posix/mqueue.h,
 	posix/include/rtems/posix/timer.h: Add missing includes.
 

diff -u rtems/cpukit/libcsupport/include/sys/statvfs.h:1.1 rtems/cpukit/libcsupport/include/sys/statvfs.h:1.2
--- rtems/cpukit/libcsupport/include/sys/statvfs.h:1.1	Thu Oct  8 02:07:36 2009
+++ rtems/cpukit/libcsupport/include/sys/statvfs.h	Thu Feb 24 09:48:06 2011
@@ -15,9 +15,12 @@
 #ifndef _SYS_STATVFS_H_
 #define _SYS_STATVFS_H_
 
-#include <sys/cdefs.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef uint64_t fsblkcnt_t;
 typedef uint32_t fsfilcnt_t;
 
@@ -39,7 +42,11 @@
   unsigned long f_namemax; /**< Maximum filename length. */
 };
 
-int statvfs(const char *, struct statvfs *);
-int fstatvfs(int, struct statvfs *);
+extern int statvfs(const char *, struct statvfs *);
+extern int fstatvfs(int, struct statvfs *);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110224/289734f5/attachment-0001.html>


More information about the vc mailing list