X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fregextype.c;h=352ffd41c40c0c41d2eb449c8a3985b570ab3747;hb=refs%2Ftags%2Fupstream%2F4.5.14;hp=cc16b6e1e77eee77a3bb44dc2a00e4e85ada0271;hpb=50bfcfef0d98d8bfdb8a7ed7afbd6d494098a3c3;p=platform%2Fupstream%2Ffindutils.git diff --git a/lib/regextype.c b/lib/regextype.c index cc16b6e..352ffd4 100644 --- a/lib/regextype.c +++ b/lib/regextype.c @@ -2,7 +2,7 @@ /* regextype.c -- Decode the name of a regular expression syntax into am option name. - Copyright 2005, 2010 Free Software Foundation, Inc. + Copyright 2005, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,18 +19,21 @@ */ /* Written by James Youngman, . */ -# include +/* config.h must be included first. */ +#include +/* system headers. */ +#include #include #include -#include -#include -#include "regextype.h" -#include "regex.h" +/* gnulib headers. */ +#include "error.h" +#include "gettext.h" #include "quote.h" +#include "regex.h" +#include "regextype.h" #include "xalloc.h" -#include "error.h" #if ENABLE_NLS @@ -49,9 +52,9 @@ struct tagRegexTypeMap { - char *name; + const char *name; int context; - int option_val; + int option_val; }; struct tagRegexTypeMap regex_map[] =