Skip to content

Commit 6ea6699

Browse files
committed
build: rename file and remove comment
1 parent b307702 commit 6ea6699

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

tools/snippets/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static double tic( void ) {
8585
}
8686

8787
/**
88-
* Generates a random number on the interval [0,1].
88+
* Generates a random number on the interval [0,1).
8989
*
9090
* @return random number
9191
*/
@@ -95,7 +95,7 @@ static float rand_float( void ) {
9595
}
9696

9797
/**
98-
* Generates a random number on the interval [0,1].
98+
* Generates a random number on the interval [0,1).
9999
*
100100
* @return random number
101101
*/

tools/snippets/benchmark/cpp/boost/benchmark.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark Boost `TODO`.
21-
*/
2219
#include <stdlib.h>
2320
#include <stdio.h>
2421
#include <math.h>
File renamed without changes.

tools/snippets/src/todo.c renamed to tools/snippets/src/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "TODO.h"
20-
#include <math.h>
19+
#include "stdlib/TODO.h"
2120

2221
/**
2322
* TODO.

0 commit comments

Comments
 (0)