[BACK]Return to timestamp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/timestamp.c between version 1.8 and 1.9

version 1.8, 2013/04/22 07:21:52 version 1.9, 2013/04/23 14:32:53
Line 24 
Line 24 
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
   #include <sys/time.h>
 #include "config.h"  #include "config.h"
 #include "defines.h"  #include "defines.h"
 #include "timestamp.h"  #include "timestamp.h"
   
   
 TIMESTAMP now;          /* The time at the start of this whole process */  struct timespec now;    /* The time at the start of this whole process */
   
 int  int
 set_times(const char *f)  set_times(const char *f)
Line 38 
Line 39 
 }  }
   
 char *  char *
 time_to_string(TIMESTAMP time)  time_to_string(struct timespec time)
 {  {
         struct tm *parts;          struct tm *parts;
         static char buf[128];          static char buf[128];

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9