adapted to the system(3L) interface

This commit is contained in:
erikb
1986-03-25 10:39:23 +00:00
parent 2ab00b6e06
commit 80b36104ef
12 changed files with 137 additions and 140 deletions

View File

@@ -4,13 +4,13 @@
#include "nopp.h"
#ifndef NOPP
#include <system.h>
#include "predefine.h" /* UF */
#include "alloc.h"
#include "class.h"
#include "macro.h"
#include "idf.h"
#include "interface.h"
#include "system.h"
#include "string.h"
PRIVATE struct mkey {
@@ -33,7 +33,7 @@ PRIVATE struct mkey {
EXPORT
init_pp()
{
time_type clock;
long clock;
static char date[30];
char *ctime();
@@ -62,7 +62,7 @@ init_pp()
"pdp" are predefined macros.
*/
/* __DATE__ */
clock = sys_time((time_type *) 0);
clock = sys_time();
strcpy(&date[1], ctime(&clock));
date[26] = '\0'; /* zap nl */
date[0] = date[25] = '"';