repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a446d
)
slist.h: add include guards
author
Arne Redlich
<arne.redlich@googlemail.com>
Thu, 13 Feb 2014 21:20:00 +0000
(22:20 +0100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 02:39:28 +0000
(18:39 -0800)
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
include/slist.h
patch
|
blob
|
blame
|
history
diff --git
a/include/slist.h
b/include/slist.h
index 56c836414dcad24f3997afb288fce9ad50eeedd5..8bb6ca480cdf2740115510fd8e0e100604714b80 100644
(file)
--- a/
include/slist.h
+++ b/
include/slist.h
@@
-15,6
+15,9
@@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _LIBNFS_SLIST_H_
+#define _LIBNFS_SLIST_H_
+
#define SLIST_ADD(list, item) \
do { \
(item)->next = (*list); \
@@
-46,6
+49,4
@@
(*list) = head; \
}
-
-
-
+#endif /* !_LIBNFS_SLIST_H_ */