Webcom C SDK
webcom-utils.h
Go to the documentation of this file.
1 /*
2  * Webcom C SDK
3  *
4  * Copyright 2017 Orange
5  * <camille.oudot@orange.com>
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or (at your
10  * option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  *
21  */
22 
23 #ifndef INCLUDE_WEBCOM_C_WEBCOM_UTILS_H_
24 #define INCLUDE_WEBCOM_C_WEBCOM_UTILS_H_
25 
43 #define UNUSED_PARAM(expr) expr __attribute__ ((unused))
44 
59 #define UNUSED_VAR(name) (void)(name)
60 
61 #define WC_INLINE __attribute__((always_inline)) inline
62 
66 #endif /* INCLUDE_WEBCOM_C_WEBCOM_UTILS_H_ */