X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fbitfield.h;h=a729db99b10e364d64c2f7e40624d1b1cf4b5219;hb=c18df81cb1cca42d43c346f569de77815eb15d6d;hp=8c2b1a201486c44a7cb40d9cad57b65540f3d3b2;hpb=a90917c3f8c4ed79117f1caa333b29a2108084ec;p=lttng-modules.git diff --git a/lib/bitfield.h b/lib/bitfield.h index 8c2b1a20..a729db99 100644 --- a/lib/bitfield.h +++ b/lib/bitfield.h @@ -1,25 +1,16 @@ -#ifndef _BABELTRACE_BITFIELD_H -#define _BABELTRACE_BITFIELD_H - -/* +/* SPDX-License-Identifier: MIT + * * BabelTrace * * Bitfields read/write functions. * * Copyright 2010 - Mathieu Desnoyers - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. */ -#include "../lttng-endian.h" +#ifndef _BABELTRACE_BITFIELD_H +#define _BABELTRACE_BITFIELD_H + +#include #ifndef CHAR_BIT #define CHAR_BIT 8