X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lib%2Fbitfield.h;h=a729db99b10e364d64c2f7e40624d1b1cf4b5219;hb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;hp=861e6dcd8107b408219efb26147053a5eeea1366;hpb=01dfd8e312eebec40e4341f678469884bfa0eb1e;p=lttng-modules.git diff --git a/lib/bitfield.h b/lib/bitfield.h index 861e6dcd..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 "../ltt-endian.h" +#ifndef _BABELTRACE_BITFIELD_H +#define _BABELTRACE_BITFIELD_H + +#include #ifndef CHAR_BIT #define CHAR_BIT 8