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