{
struct fsbnode *abnode = (struct fsbnode *)bn;
struct bnode_token *tt;
- register afs_int32 code;
+ afs_int32 code;
struct stat tstat;
code = bnode_ParseLine(abnode->filecmd, &tt);
/* set needsSalvage flag, creating file SALVAGE.<instancename> if
we need to salvage the file system (so we can tell over panic reboots */
static int
-SetSalFlag(register struct fsbnode *abnode, register int aflag)
+SetSalFlag(struct fsbnode *abnode, int aflag)
{
char tbuffer[AFSDIR_PATH_MAX];
int fd;
/* set the needsSalvage flag according to the existence of the salvage file */
static int
-RestoreSalFlag(register struct fsbnode *abnode)
+RestoreSalFlag(struct fsbnode *abnode)
{
char tbuffer[AFSDIR_PATH_MAX];
}
char *
-copystr(register char *a)
+copystr(char *a)
{
- register char *b;
+ char *b;
b = (char *)malloc(strlen(a) + 1);
strcpy(b, a);
return b;
char *ascancmd, char *dummy)
{
struct stat tstat;
- register struct fsbnode *te;
+ struct fsbnode *te;
char cmdname[AFSDIR_PATH_MAX];
char *fileCmdpath, *volCmdpath, *salCmdpath, *scanCmdpath;
int bailout = 0;
char * asalsrvcmd, char *asalcmd, char *ascancmd)
{
struct stat tstat;
- register struct fsbnode *te;
+ struct fsbnode *te;
char cmdname[AFSDIR_PATH_MAX];
char *fileCmdpath, *volCmdpath, *salsrvCmdpath, *salCmdpath, *scanCmdpath;
int bailout = 0;
{
struct fsbnode *abnode = (struct fsbnode *)bn;
- register afs_int32 now;
+ afs_int32 now;
now = FT_ApproxTime();
/* shutting down */
{
struct fsbnode *abnode = (struct fsbnode *) bn;
- register afs_int32 temp;
+ afs_int32 temp;
if (abnode->volSDW || abnode->fileSDW || abnode->salSDW
|| abnode->scanSDW || abnode->salsrvSDW)
temp = BSTAT_SHUTTINGDOWN;
/* make sure we're periodically checking the state if we need to */
static void
-SetNeedsClock(register struct fsbnode *ab)
+SetNeedsClock(struct fsbnode *ab)
{
if (ab->b.goal == 1 && ab->fileRunning && ab->volRunning
&& (!ab->scancmd || ab->scanRunning)
}
static int
-NudgeProcs(register struct fsbnode *abnode)
+NudgeProcs(struct fsbnode *abnode)
{
struct bnode_proc *tp; /* not register */
- register afs_int32 code;
+ afs_int32 code;
afs_int32 now;
now = FT_ApproxTime();