Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Mark rbtree functions with __attribute__((unused)).
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Mar 16, 2012
1 parent 87151c8 commit 681aa83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/uv-private/tree.h
Expand Up @@ -26,7 +26,11 @@
#ifndef UV_TREE_H_ #ifndef UV_TREE_H_
#define UV_TREE_H_ #define UV_TREE_H_


#define __unused #if __GNUC__
# define __unused __attribute__((unused))
#else
# define __unused
#endif


/* /*
* This file defines data structures for different types of trees: * This file defines data structures for different types of trees:
Expand Down

0 comments on commit 681aa83

Please sign in to comment.