2010-03-27 Chris Johns <chrisj@rtems.org>

libfs/src/nfsclient/src/cexphelp.c,
        libfs/src/nfsclient/src/dirutils.c,
        libfs/src/nfsclient/src/nfs.modini.c,
        libfs/src/nfsclient/src/nfsTest.c,
        libfs/src/nfsclient/src/rpcio.c,
        libfs/src/nfsclient/src/rpcio.modini.c,
        libfs/src/nfsclient/src/sock_mbuf.c,
        libfs/src/nfsclient/src/xdr_mbuf.c,
        libfs/src/rfs/rtems-rfs-bitmaps-ut.c,
        libfs/src/rfs/rtems-rfs-bitmaps.c,
        libfs/src/rfs/rtems-rfs-block.c,
        libfs/src/rfs/rtems-rfs-buffer-bdbuf.c,
        libfs/src/rfs/rtems-rfs-buffer-devio.c,
        libfs/src/rfs/rtems-rfs-buffer.c,
        libfs/src/rfs/rtems-rfs-dir-hash.c, libfs/src/rfs/rtems-rfs-dir.c,
        libfs/src/rfs/rtems-rfs-file-system.c,
        libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-format.c,
        libfs/src/rfs/rtems-rfs-group.c, libfs/src/rfs/rtems-rfs-inode.c,
        libfs/src/rfs/rtems-rfs-link.c, libfs/src/rfs/rtems-rfs-mutex.c,
        libfs/src/rfs/rtems-rfs-rtems-dev.c,
        libfs/src/rfs/rtems-rfs-rtems-dir.c,
        libfs/src/rfs/rtems-rfs-rtems-file.c,
        libfs/src/rfs/rtems-rfs-rtems-utils.c,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-shell.c,
        libfs/src/rfs/rtems-rfs-trace.c: Add HAVE_CONFIG_H support to let
        files receive configure defines.
This commit is contained in:
Chris Johns
2010-03-27 04:04:40 +00:00
parent 0b8e8274c7
commit 355b0544d2
31 changed files with 148 additions and 0 deletions

View File

@@ -1,3 +1,32 @@
2010-03-27 Chris Johns <chrisj@rtems.org>
libfs/src/nfsclient/src/cexphelp.c,
libfs/src/nfsclient/src/dirutils.c,
libfs/src/nfsclient/src/nfs.modini.c,
libfs/src/nfsclient/src/nfsTest.c,
libfs/src/nfsclient/src/rpcio.c,
libfs/src/nfsclient/src/rpcio.modini.c,
libfs/src/nfsclient/src/sock_mbuf.c,
libfs/src/nfsclient/src/xdr_mbuf.c,
libfs/src/rfs/rtems-rfs-bitmaps-ut.c,
libfs/src/rfs/rtems-rfs-bitmaps.c,
libfs/src/rfs/rtems-rfs-block.c,
libfs/src/rfs/rtems-rfs-buffer-bdbuf.c,
libfs/src/rfs/rtems-rfs-buffer-devio.c,
libfs/src/rfs/rtems-rfs-buffer.c,
libfs/src/rfs/rtems-rfs-dir-hash.c, libfs/src/rfs/rtems-rfs-dir.c,
libfs/src/rfs/rtems-rfs-file-system.c,
libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-format.c,
libfs/src/rfs/rtems-rfs-group.c, libfs/src/rfs/rtems-rfs-inode.c,
libfs/src/rfs/rtems-rfs-link.c, libfs/src/rfs/rtems-rfs-mutex.c,
libfs/src/rfs/rtems-rfs-rtems-dev.c,
libfs/src/rfs/rtems-rfs-rtems-dir.c,
libfs/src/rfs/rtems-rfs-rtems-file.c,
libfs/src/rfs/rtems-rfs-rtems-utils.c,
libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-shell.c,
libfs/src/rfs/rtems-rfs-trace.c: Add HAVE_CONFIG_H support to let
files receive configure defines.
2010-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c,

View File

@@ -1,3 +1,7 @@
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <librtemsNfs.h>
#include <cexpHelp.h>
CEXP_HELP_TAB_BEGIN(rtemsNfs)

View File

@@ -49,6 +49,10 @@
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef __vxworks
#include <vxWorks.h>
#endif

View File

@@ -1,3 +1,7 @@
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "librtemsNfs.h"
/* CEXP dynamic loader support */

View File

@@ -94,6 +94,10 @@
*
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
#include <rtems/error.h>

View File

@@ -61,6 +61,10 @@
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
#include <rtems/error.h>
#include <rtems/rtems_bsdnet.h>

View File

@@ -1,3 +1,7 @@
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "librtemsNfs.h"
/* CEXP module support (magic init) */
void

View File

@@ -75,6 +75,9 @@ SOFTWARE.
=============================================================================
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <stdarg.h>

View File

@@ -52,6 +52,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_mem.c,v 1.8 1999/08/28 00:0
* use.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <rpc/types.h>
#include <rpc/xdr.h>

View File

@@ -17,6 +17,10 @@
* This is a unit test module for the bit map functions.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@@ -20,6 +20,10 @@
* search bits can checked in a test.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
/**
* Set to 1 to enable warnings when developing.
*/

View File

@@ -34,6 +34,10 @@
* speeds up the search for a free block by a factor of 32.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-block.h>
#include <rtems/rfs/rtems-rfs-data.h>
#include <rtems/rfs/rtems-rfs-group.h>

View File

@@ -16,6 +16,10 @@
*
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h>
#include <rtems/rfs/rtems-rfs-buffer.h>

View File

@@ -16,6 +16,10 @@
*
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h>
#include <rtems/rfs/rtems-rfs-buffer.h>

View File

@@ -16,6 +16,10 @@
*
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h>
#include <rtems/rfs/rtems-rfs-buffer.h>

View File

@@ -9,6 +9,10 @@
* RTEMS File Systems Directory Hash function.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-dir-hash.h>
#ifdef __rtems__

View File

@@ -25,6 +25,10 @@
* superblock.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-block.h>
#include <rtems/rfs/rtems-rfs-buffer.h>
#include <rtems/rfs/rtems-rfs-file-system.h>

View File

@@ -17,6 +17,10 @@
* Open the file system by reading the superblock and then the group data.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-data.h>
#include <rtems/rfs/rtems-rfs-file-system.h>
#include <rtems/rfs/rtems-rfs-inode.h>

View File

@@ -17,6 +17,10 @@
* These functions manage files.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-block-pos.h>
#include <rtems/rfs/rtems-rfs-file.h>
#include <rtems/rfs/rtems-rfs-file-system.h>

View File

@@ -17,6 +17,10 @@
* Format the file system ready for use.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>

View File

@@ -18,6 +18,10 @@
* within a group.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-file-system.h>
#include <rtems/rfs/rtems-rfs-group.h>

View File

@@ -18,6 +18,10 @@
* block that reside after the bitmaps in the group.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-block.h>
#include <rtems/rfs/rtems-rfs-file-system.h>
#include <rtems/rfs/rtems-rfs-inode.h>

View File

@@ -18,6 +18,10 @@
* a parent directory and incrementing the links count in the inode.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-block.h>
#include <rtems/rfs/rtems-rfs-buffer.h>
#include <rtems/rfs/rtems-rfs-file-system.h>

View File

@@ -15,6 +15,10 @@
* RTEMS File System Mutex.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-mutex.h>
#if __rtems__

View File

@@ -19,6 +19,10 @@
*
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "rtems-rfs-rtems.h"
/*

View File

@@ -15,6 +15,10 @@
* RTEMS RFS Directory Access Routines
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

View File

@@ -18,6 +18,10 @@
* RFS file nodes.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/rfs/rtems-rfs-file.h>
#include "rtems-rfs-rtems.h"

View File

@@ -15,6 +15,10 @@
* Set of utility functions to support RTEMS RFS on RTEMS.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>

View File

@@ -15,6 +15,10 @@
* RTEMS File System Interface for RTEMS.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <rtems/rfs/rtems-rfs-file.h>

View File

@@ -15,6 +15,10 @@
* RTEMS File Systems Shell Commands Support
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <rtems/rfs/rtems-rfs-block.h>

View File

@@ -15,6 +15,10 @@
* RTEMS File Systems Trace Support
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <rtems/rfs/rtems-rfs-trace.h>