[BACK]Return to xfsrtstubs.c CVS log [TXT][DIR] Up to [Development] / xfs-linux

File: [Development] / xfs-linux / Attic / xfsrtstubs.c (download)

Revision 1.2, Tue Oct 5 05:18:56 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.1: +5 -5 lines

Added (void) to all function stubs... compiler thinks they sortof look
like prototypes but they are not.

#ident "$Revision: 1.2 $"
/*
 * xfsrt stubs
 */
#include <sys/types.h>
#include <sys/uuid.h>
#include <sys/vfs.h>
#include <sys/vnode.h>
#include <sys/buf.h>
#include <ksys/behavior.h>
#include <sys/fs/xfs_types.h>
#include <sys/fs/xfs_inum.h>
#include <sys/fs/xfs_sb.h>
#include <sys/fs/xfs_log.h>
#include <sys/fs/xfs_trans.h>
#include <sys/fs/xfs_dir.h>
#include <sys/fs/xfs_mount.h>

extern int nopkg(void);

int xfs_rtallocate_extent(void) { return nopkg(); }
int xfs_rtfree_extent(void) { return nopkg(); }
int xfs_growfs_rt(void) { return nopkg(); }
int xfs_rtpick_extent(void) { return nopkg(); }

int
xfs_rtmount_init(xfs_mount_t *mp)
{
	if (mp->m_sb.sb_rblocks == 0)
		return 0;
	return nopkg();
}

int
xfs_rtmount_inodes(xfs_mount_t *mp)
{
	if (mp->m_sb.sb_rblocks == 0)
		return 0;
	return nopkg();
}