null+****@clear*****
null+****@clear*****
2012年 2月 23日 (木) 12:18:49 JST
Susumu Yata 2012-02-23 12:18:49 +0900 (Thu, 23 Feb 2012)
New Revision: 1881b04fef81311a60a527d942891e099ac9509c
Log:
add #include "groonga_in.h" to plugin.c and tokenizer.c.
Modified files:
lib/plugin.c
lib/tokenizer.c
Modified: lib/plugin.c (+7 -8)
===================================================================
--- lib/plugin.c 2012-02-22 21:29:45 +0900 (143fa3d)
+++ lib/plugin.c 2012-02-23 12:18:49 +0900 (e93e635)
@@ -1,5 +1,6 @@
/* -*- c-basic-offset: 2 -*- */
-/* Copyright(C) 2009-2012 Brazil
+/*
+ Copyright(C) 2012 Brazil
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -14,20 +15,18 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
-#ifndef GRN_PLUGIN_H
+#include "groonga_in.h"
#include "groonga/plugin.h"
-#endif /* GRN_PLUGIN_H */
+
+#include <stdarg.h>
+#include <stdio.h>
+#include <string.h>
#include "db.h"
#include "plugin_in.h"
#include "ctx_impl.h"
#include "util.h"
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
-
static grn_hash *grn_plugins = NULL;
#define PATHLEN(filename) (strlen(filename) + 1)
Modified: lib/tokenizer.c (+1 -0)
===================================================================
--- lib/tokenizer.c 2012-02-22 21:29:45 +0900 (00365aa)
+++ lib/tokenizer.c 2012-02-23 12:18:49 +0900 (0d767bf)
@@ -15,6 +15,7 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "groonga_in.h"
#include "groonga/tokenizer.h"
#include <stdarg.h>