/*
* Print the machine interface output of this command.
*/
-static int print_mi()
+static int print_mi(void)
{
int ret = CMD_SUCCESS;
struct mi_writer *writer = NULL;
}
static
-char *get_session_config_xsd_path()
+char *get_session_config_xsd_path(void)
{
char *xsd_path;
const char *base_path = lttng_secure_getenv(DEFAULT_SESSION_CONFIG_XSD_PATH_ENV);
return hash;
}
-struct lttng_event_rule *lttng_event_rule_kprobe_create()
+struct lttng_event_rule *lttng_event_rule_kprobe_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_kprobe *krule;
return hash;
}
-struct lttng_event_rule *lttng_event_rule_syscall_create()
+struct lttng_event_rule *lttng_event_rule_syscall_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_syscall *syscall_rule;
return hash;
}
-struct lttng_event_rule *lttng_event_rule_uprobe_create()
+struct lttng_event_rule *lttng_event_rule_uprobe_create(void)
{
struct lttng_event_rule *rule = NULL;
struct lttng_event_rule_uprobe *urule;
}
static
-int resume_application()
+int resume_application(void)
{
int ret;
struct stat buf;
#define TRACEPOINT_DEFINE
#include "tp.h"
-int main()
+int main(int argc, char **argv)
{
sleep(1);
return 0;
#define TRACEPOINT_CREATE_PROBES
#include "ust_tests_fork.h"
-int main()
+int main(int argc, char **argv)
{
printf("IN FORK2\n");
assert(!uri);
}
-static void test_uri_cmp()
+static void test_uri_cmp(void)
{
struct lttng_uri *uri1, *uri2;
const char *s_uri1 = "net://localhost";
#define TEST_NAME_PROPER_LEN 16
-int main()
+int main(int argc, char **argv)
{
int ret;
char name1[TEST_NAME_PROPER_LEN];