X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpath.h;h=5584e1b64af5781b3fcdbb6022c417f9ad2febe7;hb=40fd2ccf9faa3e8b6d67d40c8ee52a2b3d1f07bd;hp=5c367d5a019152fd5d8eeedbb9ef36fe3f2308a0;hpb=6ec9dc48cf7f3d5e1fc01f741197c0bacc94bbf0;p=lttng-tools.git diff --git a/src/common/compat/path.h b/src/common/compat/path.h index 5c367d5a0..5584e1b64 100644 --- a/src/common/compat/path.h +++ b/src/common/compat/path.h @@ -1,23 +1,18 @@ /* - * Copyright (C) 2020 - Jérémie Galarneau + * Copyright (C) 2020 Jérémie Galarneau * - * 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. + * SPDX-License-Identifier: GPL-2.0-only * - * 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. - * - * 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 _COMPAT_PATH_H +#define _COMPAT_PATH_H + /* Build platform's preferred path separator. */ #if defined(_WIN32) || defined(__CYGWIN__) #define LTTNG_PATH_SEPARATOR '\\' #else #define LTTNG_PATH_SEPARATOR '/' #endif + +#endif /* _COMPAT_PATH_H */