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
15
#ifndef NS_UNUSED
16
# define NS_UNUSED(x) ((void)(x))
17
#endif
18
24
#ifndef NS_UNUSED_GLOBAL
25
#if defined(__GNUC__)
26
# define NS_UNUSED_GLOBAL(x) x __attribute__((unused))
27
#elif defined(__LCLINT__)
28
# define NS_UNUSED_GLOBAL(x)
/*@unused@*/
x
29
#else
30
# define NS_UNUSED_GLOBAL(x) x
31
#endif
32
#endif
33
34
#endif
/* UNUSED_H */
src
core
model
unused.h
Generated on Wed May 13 2015 14:59:12 for ns-3 by
1.8.9.1