*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
static int nr_probes;
static int probes_capacity;
-void modprobe_remove_lttng(const struct kern_modules_param *modules,
- int entries, int required)
+static void modprobe_remove_lttng(const struct kern_modules_param *modules,
+ int entries, int required)
{
int ret = 0, i;
char modprobe[256];