1 /*
2 * Copyright (c) 1992-1998 Michael A. Cooper.
3 * This software may be freely used and distributed provided it is not
4 * sold for profit or used in part or in whole for commercial gain
5 * without prior written agreement, and the author is credited
6 * appropriately.
7 */
8 #ifndef lint
9 static char RCSid[] =
10 "$Id: hasmntopt.c,v 6.1 1998/11/10 04:11:16 mcooper Exp $";
11
12 static char sccsid[] = "@(#)hasmntopt.c";
13
14 static char copyright[] =
15 "Copyright (c) 1992-1998 Michael A. Cooper.\n\
16 @(#) Copyright (c) 1983-1993 Regents of the University of California.\n\
17 All rights reserved.\n";
18 #endif /* not lint */
19
20 #include "defs.h"
21 #include "filesys.h"
22
23 /*
24 * dc/osx does not have this routine. Since it is only used to check for
25 * read-only mounted filesystems, we disable this functionality. So rdist
26 * will think all mounted filesystems are read-write.
27 */
28 char *
hasmntopt(mnt,opt)29 hasmntopt(mnt, opt)
30 struct mntent *mnt;
31 char *opt;
32 {
33 return(0);
34 }
35