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

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

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

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

/* oplocks are not included in Mini Root */

#include <sys/errno.h>

int
oplock_fcntl(void)
{
	return (EINVAL);
}

void
oplock_fs_create(void)
{
	return;
}

#ifdef CELL_CAPABLE
void
oplock_cxfs_check() { }

int
oplock_cxfs_req()
{
	return(0);
}
#endif	/* CELL_CAPABLE */