int
bc_AddDumpCmd(struct cmd_syndesc *as, void *arock)
{
- register char *dname; /* dump schedule name */
- register int code;
+ char *dname; /* dump schedule name */
+ int code;
afs_int32 expType, expDate;
- register struct cmd_item *ti;
+ struct cmd_item *ti;
udbClientTextP ctPtr;
/* if an expiration date has been specified */
/* parm 0 is vol set name
* parm 1 is dump schedule name
*/
- register char *dname;
- register int code;
+ char *dname;
+ int code;
udbClientTextP ctPtr;
/* lock schedules and check validity */
*/
static int
-ListDumpSchedule(register struct bc_dumpSchedule *adump, int alevel)
+ListDumpSchedule(struct bc_dumpSchedule *adump, int alevel)
{
- register int i;
- register struct bc_dumpSchedule *child;
+ int i;
+ struct bc_dumpSchedule *child;
/* sanity check for loops */
if (alevel > 100) {
{
/* no parms */
int code;
- register struct bc_dumpSchedule *tdump;
+ struct bc_dumpSchedule *tdump;
/* first check to see if schedules must be updated */
code = bc_UpdateDumpSchedule();
int
bc_SetExpCmd(struct cmd_syndesc *as, void *arock)
{
- register char *dname; /* dump schedule name */
- register struct cmd_item *ti;
+ char *dname; /* dump schedule name */
+ struct cmd_item *ti;
struct bc_dumpSchedule *node, *parent;
afs_int32 expType, expDate;
udbClientTextP ctPtr;
- register int code;
+ int code;
/* if an expiration date has been specified */
if (as->parms[1].items) {
char *tp;
afs_int32 code;
udbClientTextP ctPtr;
- register struct bc_dumpSchedule *tds;
+ struct bc_dumpSchedule *tds;
struct bc_dumpSchedule **ppds, *pds;
afs_int32 expDate, expType;
- register FILE *stream;
+ FILE *stream;
/* initialize locally used variables */
ctPtr = &bc_globalConfig->configText[TB_DUMPSCHEDULE];