General cleanup:
- clean up kernel section of minix/com.h somewhat - remove ALLOCMEM and VM_ALLOCMEM calls - remove non-safecopy and minix-vmd support from Inet - remove SYS_VIRVCOPY and SYS_PHYSVCOPY calls - remove obsolete segment encoding in SYS_SAFECOPY* - remove DEVCTL call, svrctl(FSDEVUNMAP), map_driverX - remove declarations of unimplemented svrctl requests - remove everything related to swapping to disk - remove floppysetup.sh - remove traces of rescue device - update DESCRIBE.sh with new devices - some other small changes
This commit is contained in:
@@ -151,21 +151,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
if (Wflag) wflag = 1; /* -W implies -w */
|
||||
|
||||
#if 0
|
||||
/* The hardware clock may run in a different time zone, likely GMT or
|
||||
* winter time. Select that time zone.
|
||||
*/
|
||||
strcpy(clocktz, "TZ=");
|
||||
sysgetenv.key = "TZ";
|
||||
sysgetenv.keylen = 2+1;
|
||||
sysgetenv.val = clocktz+3;
|
||||
sysgetenv.vallen = sizeof(clocktz)-3;
|
||||
if (svrctl(SYSGETENV, &sysgetenv) == 0) {
|
||||
putenv(clocktz);
|
||||
tzset();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Read the CMOS real time clock. */
|
||||
for (i = 0; i < 10; i++) {
|
||||
get_time(&time1);
|
||||
|
||||
Reference in New Issue
Block a user