SCCS-vsn: sbin/fsdb/fsdb.c 5.9
SCCS-vsn: sbin/reboot/halt.c 5.9
SCCS-vsn: sbin/mount/mount.c 5.44
SCCS-vsn: sbin/mountd/mountd.c 5.14
SCCS-vsn: sbin/newfs/mkfs.c 6.16
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)fsdb.c 5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)fsdb.c 5.9 (Berkeley) %G%";
extern char *malloc(), *calloc();
char getachar();
char *getblk(), *fmtentry();
extern char *malloc(), *calloc();
char getachar();
char *getblk(), *fmtentry();
long get(), bmap(), expr(), term(), getnumb();
unsigned long *print_check();
long get(), bmap(), expr(), term(), getnumb();
unsigned long *print_check();
* appropriate flags. A reset call is made to return
* to the main loop;
*/
* appropriate flags. A reset call is made to return
* to the main loop;
*/
err()
{
freemem(filenames, nfiles);
err()
{
freemem(filenames, nfiles);
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)mount.c 5.43 (Berkeley) %G%";
+static char sccsid[] = "@(#)mount.c 5.44 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
int fake, verbose, updateflg, mnttype;
char *mntname, **envp;
char **vfslist, **makevfslist();
int fake, verbose, updateflg, mnttype;
char *mntname, **envp;
char **vfslist, **makevfslist();
#ifdef NFS
int xdr_dir(), xdr_fh();
#ifdef NFS
int xdr_dir(), xdr_fh();
perror("mount: vfork starting file system");
return (1);
}
perror("mount: vfork starting file system");
return (1);
}
- if (waitpid(pid, &status, 0) != -1 &&
+ if (waitpid(pid, (int *)&status, 0) != -1 &&
WIFEXITED(status) &&
WEXITSTATUS(status) != 0)
return (WEXITSTATUS(status));
WIFEXITED(status) &&
WEXITSTATUS(status) != 0)
return (WEXITSTATUS(status));
prmount(spec, name, flags)
char *spec, *name;
register short flags;
prmount(spec, name, flags)
char *spec, *name;
register short flags;
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)mountd.c 5.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)mountd.c 5.14 (Berkeley) %G%";
#endif not lint
#include <sys/param.h>
#endif not lint
#include <sys/param.h>
-int xdr_fhs(), xdr_mlist(), xdr_dir(), xdr_explist();
-int mntsrv(), get_exportlist(), send_umntall(), umntall_each();
-void get_mountlist(), add_mlist(), del_mlist();
+int mntsrv(), umntall_each(), xdr_fhs(), xdr_mlist(), xdr_dir(), xdr_explist();
+void add_mlist(), del_mlist(), get_exportlist(), get_mountlist();
+void send_umntall();
struct exportlist exphead;
struct mountlist *mlhead;
char exname[MAXPATHLEN];
struct exportlist exphead;
struct mountlist *mlhead;
char exname[MAXPATHLEN];
/*
* Get the export list
*/
/*
* Get the export list
*/
get_exportlist()
{
register struct hostent *hp, *nhp;
get_exportlist()
{
register struct hostent *hp, *nhp;
* This function is called via. SIGTERM when the system is going down.
* It sends a broadcast RPCMNT_UMNTALL.
*/
* This function is called via. SIGTERM when the system is going down.
* It sends a broadcast RPCMNT_UMNTALL.
*/
send_umntall()
{
(void) clnt_broadcast(RPCPROG_MNT, RPCMNT_VER1, RPCMNT_UMNTALL,
send_umntall()
{
(void) clnt_broadcast(RPCPROG_MNT, RPCMNT_VER1, RPCMNT_UMNTALL,
-static char sccsid[] = "@(#)mkfs.c 6.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)mkfs.c 6.16 (Berkeley) %G%";
#endif /* not lint */
#ifndef STANDALONE
#endif /* not lint */
#ifndef STANDALONE
long used, mincpgcnt, bpcg;
long mapcramped, inodecramped;
long postblsize, rotblsize, totalsbsize;
long used, mincpgcnt, bpcg;
long mapcramped, inodecramped;
long postblsize, rotblsize, totalsbsize;
- int ppid, status, started();
+ int ppid, status;
+ void started();
#ifndef STANDALONE
time(&utime);
#ifndef STANDALONE
time(&utime);
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)halt.c 5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)halt.c 5.9 (Berkeley) %G%";
dingdong()
{
/* RRRIIINNNGGG RRRIIINNNGGG */
dingdong()
{
/* RRRIIINNNGGG RRRIIINNNGGG */