Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79487 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-13 19:09:59


Author: jurko
Date: 2012-07-13 19:09:58 EDT (Fri, 13 Jul 2012)
New Revision: 79487
URL: http://svn.boost.org/trac/boost/changeset/79487

Log:
Reverted accidental commit in revision 79486.
Text files modified:
   trunk/tools/build/v2/engine/timestamp.c | 32 ++++++++------------------------
   1 files changed, 8 insertions(+), 24 deletions(-)

Modified: trunk/tools/build/v2/engine/timestamp.c
==============================================================================
--- trunk/tools/build/v2/engine/timestamp.c (original)
+++ trunk/tools/build/v2/engine/timestamp.c 2012-07-13 19:09:58 EDT (Fri, 13 Jul 2012)
@@ -12,15 +12,6 @@
 
 /*
  * timestamp.c - get the timestamp of a file or archive member
- *
- * External routines:
- * timestamp_from_target() - return timestamp on a file, if present
- * timestamp_done() - free timestamp tables
- *
- * Internal routines:
- * time_enter() - internal worker callback for scanning archives &
- * directories
- * free_timestamps() - worker function for freeing timestamp table contents
  */
 
 #include "jam.h"
@@ -37,7 +28,9 @@
  * BINDING - all known files
  */
 
-typedef struct _binding {
+typedef struct _binding BINDING;
+
+struct _binding {
     OBJECT * name;
     short flags;
 
@@ -53,7 +46,7 @@
 
     /* update time - 0 if not exist */
     time_t time;
-} BINDING;
+};
 
 static struct hash * bindhash = 0;
 static void time_enter( void *, OBJECT *, int const found, time_t );
@@ -69,10 +62,10 @@
 
 
 /*
- * timestamp_from_target() - return timestamp on a file, if present
+ * timestamp() - return timestamp on a file, if present.
  */
 
-void timestamp_from_target( OBJECT * target, time_t * time )
+void timestamp( OBJECT * target, time_t * time )
 {
     PROFILE_ENTER( timestamp );
 
@@ -187,10 +180,6 @@
 }
 
 
-/*
- * time_enter() - internal worker callback for scanning archives & directories
- */
-
 static void time_enter( void * closure, OBJECT * target, int const found,
     time_t time )
 {
@@ -217,11 +206,6 @@
     object_free( target );
 }
 
-
-/*
- * free_timestamps() - worker function for freeing timestamp table contents
- */
-
 static void free_timestamps( void * xbinding, void * data )
 {
     object_free( ((BINDING *)xbinding)->name );
@@ -229,10 +213,10 @@
 
 
 /*
- * timestamp_done() - free timestamp tables
+ * stamps_done() - free timestamp tables.
  */
 
-void timestamp_done()
+void stamps_done()
 {
     if ( bindhash )
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk