From: utzoo!decvax!ucbvax!mbm@mit-cipg@mit-mc
Newsgroups: net.bugs.2bsd
Title: ls, declaring lib functions
Article-I.D.: ucbvax.7871
Posted: Fri Jul  2 09:17:22 1982
Received: Sat Jul  3 01:54:03 1982

From: mbm at mit-cipg at mit-mc

Berkeley's ls does not report the year of old files on the pdp11,
because it does not declare time() to be long, and always thinks
the current year is 1969. 

Strictly, time should probably be declared time_t.

This is a perennial problem in C, especially in regards to portability
to other machines and systems.  I think we should extend the idea of
 and  to an include file for all the C library routines
(system call interfaces and others), say , so that non-int
functions would get properly declared automagically by including this file.

[My apologies to those on more than one of these lists.]
--mike