X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=48b1a9fb7e63b4f6f07e12b8d87470ab643c23fd;hb=886d51a3d7ed5fa6b41d7f19b3e14ae6c535a44c;hp=b85024f6906ee4f26975fef8ceacbd1ce3ea4312;hpb=82e64e8bc14841ffebb350f811e907d17bc46946;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index b85024f6..48b1a9fb 100644 --- a/wrapper/uuid.h +++ b/wrapper/uuid.h @@ -1,10 +1,24 @@ -#ifndef _LTT_WRAPPER_UUID_H -#define _LTT_WRAPPER_UUID_H +#ifndef _LTTNG_WRAPPER_UUID_H +#define _LTTNG_WRAPPER_UUID_H /* - * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) + * wrapper/uuid.h * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2011-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -22,8 +36,8 @@ typedef struct { static inline void uuid_le_gen(uuid_le *u) { - generate_random_uuid(u); + generate_random_uuid(u->b); } #endif -#endif /* _LTT_WRAPPER_UUID_H */ +#endif /* _LTTNG_WRAPPER_UUID_H */