lkml.org 
[lkml]   [2008]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] small include/linux/parser.h fixes
Date
add linux/types.h include to linux/parser.h
also add #ifndef __LINUX_PARSER_H ... #endif

Signed-off-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
---
include/linux/parser.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/parser.h b/include/linux/parser.h
index 7dcd050..2f4c8e1 100644
--- a/include/linux/parser.h
+++ b/include/linux/parser.h
@@ -7,6 +7,10 @@
* parsing is required.
*/

+#ifndef _LINUX_PARSER_H
+#define _LINUX_PARSER_H
+
+#include <linux/types.h>

/* associates an integer enumerator with a pattern string. */
struct match_token {
@@ -31,3 +35,5 @@ int match_octal(substring_t *, int *result);
int match_hex(substring_t *, int *result);
size_t match_strlcpy(char *, const substring_t *, size_t);
char *match_strdup(const substring_t *);
+
+#endif
--
1.5.4.3


\
 
 \ /
  Last update: 2008-07-16 15:35    [W:0.028 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site