X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fuuid.h;h=48b1a9fb7e63b4f6f07e12b8d87470ab643c23fd;hb=c5ca01c9ce528a1ace54ba422448a8524e3b7883;hp=e8975ffa09f2144692ddab46725832aabf005cc8;hpb=b7f2e98ea37980b61e8bbf871085ae227e155dfb;p=lttng-modules.git diff --git a/wrapper/uuid.h b/wrapper/uuid.h index e8975ffa..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.b); + generate_random_uuid(u->b); } #endif -#endif /* _LTT_WRAPPER_UUID_H */ +#endif /* _LTTNG_WRAPPER_UUID_H */