*
*/
-#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
int lttng_opt_mi;
struct valid_test_input {
- char *input;
+ const char *input;
uint64_t expected_result;
};
static const int num_valid_tests = sizeof(valid_tests_inputs) / sizeof(valid_tests_inputs[0]);
/* Invalid test cases */
-static char *invalid_tests_inputs[] = {
+static const char *invalid_tests_inputs[] = {
"",
" ",
"-1",