change things so we conform with the usual prototype for main()
Reviewed-on: http://gerrit.openafs.org/2850
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit
9d790e18fadc318305b58809c0715c4e07c82b85)
Change-Id: Ibfd1dd69024c00c08308d69315c6cf971a6e0932
Reviewed-on: http://gerrit.openafs.org/2929
#endif
-void
+int
main(int argc, char *argv[])
{
int authenticated = 0;
putenv((char *)new_homestring);
chdir("/tmp");
printf("Type exit to back out.\n");
- execl("/bin/csh", "/bin/csh", NULL);
+ return execl("/bin/csh", "/bin/csh", NULL);
}