X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Futils.h;h=b02a791b1c0a168dbc9d42e5d02ee3930bf7aa0b;hp=de1521d6fd3252ccf7853dd1e9aafd2270dbee0d;hb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;hpb=0f907de1f20c91a2bd1a08ee4d50332d1958754b diff --git a/src/bin/lttng-relayd/utils.h b/src/bin/lttng-relayd/utils.h index de1521d6f..b02a791b1 100644 --- a/src/bin/lttng-relayd/utils.h +++ b/src/bin/lttng-relayd/utils.h @@ -1,24 +1,15 @@ +#ifndef RELAYD_UTILS_H +#define RELAYD_UTILS_H + /* - * Copyright (C) 2012 - Julien Desfossez - * David Goulet - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * Copyright (C) 2012 Julien Desfossez + * Copyright (C) 2012 David Goulet + * Copyright (C) 2015 Mathieu Desnoyers * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. + * SPDX-License-Identifier: GPL-2.0-only * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef RELAYD_UTILS_H -#define RELAYD_UTILS_H - -char *create_output_path(char *path_name); +char *create_output_path(const char *path_name); #endif /* RELAYD_UTILS_H */