X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fbitfield.h;h=a729db99b10e364d64c2f7e40624d1b1cf4b5219;hb=3aed4dca825a63757a3c95b9d41019660f83e02d;hp=a509e35f945a8701e9635d2d5111dc0c05d56964;hpb=9115fbdc0d5b0d69b32d3d4d924624fbbe22638e;p=lttng-modules.git diff --git a/lib/bitfield.h b/lib/bitfield.h index a509e35f..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