#if 0
foldcmp (a, b)
- register char *a;
- register char *b; {
- register char t, u;
+ char *a;
+ char *b; {
+ char t, u;
while (1) {
t = *a++;
u = *b++;
#endif
/* this function returns TRUE (1) if the file is in AFS, otherwise false (0) */
-static int InAFS(register char *apath)
+static int InAFS(char *apath)
{
struct ViceIoctl blob;
- register afs_int32 code;
+ afs_int32 code;
blob.in_size = 0;
blob.out_size = MAXSIZE;
/* return a static pointer to a buffer */
static char *Parent(apath)
char *apath; {
- register char *tp;
+ char *tp;
strcpy(tspace, apath);
tp = strrchr(tspace, '\\');
if (tp) {
}
-static ListLinkCmd(register struct cmd_syndesc *as, void *arock)
+static ListLinkCmd(struct cmd_syndesc *as, void *arock)
{
- register afs_int32 code;
+ afs_int32 code;
struct ViceIoctl blob;
int error;
- register struct cmd_item *ti;
+ struct cmd_item *ti;
char orig_name[1024]; /*Original name, may be modified*/
char true_name[1024]; /*``True'' dirname (e.g., symlink target)*/
char parent_dir[1024]; /*Parent directory of true name*/
- register char *last_component; /*Last component of true name*/
+ char *last_component; /*Last component of true name*/
#ifndef WIN32
struct stat statbuff; /*Buffer for status info*/
#endif /* not WIN32 */
return error;
}
-static MakeLinkCmd(register struct cmd_syndesc *as, void *arock)
+static MakeLinkCmd(struct cmd_syndesc *as, void *arock)
{
- register afs_int32 code;
+ afs_int32 code;
struct ViceIoctl blob;
char * parent;
char path[1024] = "";
* symlink (or ``.'' if none is provided)
* tp: Set to point to the actual name of the symlink to nuke.
*/
-static RemoveLinkCmd(register struct cmd_syndesc *as, void *arock)
+static RemoveLinkCmd(struct cmd_syndesc *as, void *arock)
{
- register afs_int32 code=0;
+ afs_int32 code=0;
struct ViceIoctl blob;
- register struct cmd_item *ti;
+ struct cmd_item *ti;
char tbuffer[1024];
char lsbuffer[1024];
- register char *tp;
+ char *tp;
for(ti=as->parms[0].items; ti; ti=ti->next) {
/* once per file */
int wmain(int argc, wchar_t **wargv)
{
- register afs_int32 code;
- register struct cmd_syndesc *ts;
+ afs_int32 code;
+ struct cmd_syndesc *ts;
char ** argv;
#ifdef AFS_AIX32_ENV