static int
TrimLine(char *abuffer, afs_int32 *aport)
{
- register int tc;
+ int tc;
char garb[100];
*aport = 0;
FILE *
bc_open(struct bc_config *aconfig, char *aname, char *aext, char *amode)
{
- register FILE *tf;
+ FILE *tf;
char tpath[256];
strcpy(tpath, aconfig->path);
int
bc_InitConfig(char *apath)
{
- register struct bc_config *tb;
+ struct bc_config *tb;
/* initialize global config structure */
tb = (struct bc_config *)malloc(sizeof(struct bc_config));
static int
HostAdd(struct bc_hostEntry **alist, char *aname, afs_int32 aport)
{
- register struct bc_hostEntry **tlast, *tentry;
+ struct bc_hostEntry **tlast, *tentry;
struct hostent *th;
/* check that the host address is real */
static int
HostDelete(struct bc_hostEntry **alist, char *aname, afs_int32 aport)
{
- register struct bc_hostEntry **tlast, *tentry;
+ struct bc_hostEntry **tlast, *tentry;
/* find guy to zap */
tlast = alist;
int
bc_AddTapeHost(struct bc_config *aconfig, char *aname, afs_int32 aport)
{
- register afs_int32 code;
+ afs_int32 code;
code = HostAdd(&aconfig->tapeHosts, aname, aport);
int
bc_DeleteTapeHost(struct bc_config *aconfig, char *aname, afs_int32 aport)
{
- register afs_int32 code;
+ afs_int32 code;
code = HostDelete(&aconfig->tapeHosts, aname, aport);