Add common util to set thread name
[lttng-tools.git] / src / common / compat / path.h
index 5c367d5a019152fd5d8eeedbb9ef36fe3f2308a0..5584e1b64af5781b3fcdbb6022c417f9ad2febe7 100644 (file)
@@ -1,23 +1,18 @@
 /*
- * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * 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 */
This page took 0.023216 seconds and 4 git commands to generate.