summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-01-16 08:12:54 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-01-16 08:12:54 (GMT)
commite041780f50eacac25956eee49b813c5a744e25f8 (patch)
treec00d508eb59b808f184187c38ff8e1673df547f1 /src/tests
parentab946d2ddef6fb090c85de269f84eaa96f6ab01b (diff)
Minor name fixes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/md_openmp.c3
-rw-r--r--src/tests/tng_parallel_read.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/md_openmp.c b/src/tests/md_openmp.c
index cc5d790..4398d7b 100644
--- a/src/tests/md_openmp.c
+++ b/src/tests/md_openmp.c
@@ -689,13 +689,12 @@ void timestamp ( void )
static char time_buffer[TIME_SIZE];
const struct tm *tm;
- size_t len;
time_t now;
now = time ( NULL );
tm = localtime ( &now );
- len = strftime ( time_buffer, TIME_SIZE, "%d %B %Y %I:%M:%S %p", tm );
+ strftime ( time_buffer, TIME_SIZE, "%d %B %Y %I:%M:%S %p", tm );
printf ( "%s\n", time_buffer );
diff --git a/src/tests/tng_parallel_read.c b/src/tests/tng_parallel_read.c
index 8078753..64abb64 100644
--- a/src/tests/tng_parallel_read.c
+++ b/src/tests/tng_parallel_read.c
@@ -85,7 +85,7 @@ default(none)
{
/* Each tng_trajectory_t keeps its own file pointers and i/o positions.
* Therefore there must be a copy for each thread. */
- tng_trajectory_copy(traj, &local_traj);
+ tng_trajectory_init_from_src(traj, &local_traj);
#pragma omp for
for(i = 0; i < n_frame_sets; i++)
{
contact: Jan Huwald // Impressum