A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
unused.h
Go to the documentation of this file.
1
#ifndef UNUSED_H
2
#define UNUSED_H
3
4
#ifndef NS_UNUSED
5
# define NS_UNUSED(x) ((void)(x))
6
#endif
7
8
#ifndef NS_UNUSED_GLOBAL
9
#if defined(__GNUC__)
10
# define NS_UNUSED_GLOBAL(x) x __attribute__((unused))
11
#elif defined(__LCLINT__)
12
# define NS_UNUSED_GLOBAL(x)
/*@unused@*/
x
13
#else
14
# define NS_UNUSED_GLOBAL(x) x
15
#endif
16
#endif
17
18
#endif
/* UNUSED_H */
src
core
model
unused.h
Generated on Thu Feb 5 2015 18:33:35 for ns-3 by
1.8.9.1