[Groonga-commit] groonga/groonga [master] remove needless macros.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 8月 9日 (月) 14:22:08 JST


Kouhei Sutou	2010-08-09 05:22:08 +0000 (Mon, 09 Aug 2010)

  New Revision: 32023330acc6d3855813e368e720117a63e30c86

  Log:
    remove needless macros.

  Modified files:
    lib/geo.c

  Modified: lib/geo.c (+0 -10)
===================================================================
--- lib/geo.c    2010-08-09 05:21:17 +0000 (d93ef20)
+++ lib/geo.c    2010-08-09 05:22:08 +0000 (4e2a1fd)
@@ -22,16 +22,6 @@
 #include "db.h"
 #include "pat.h"
 
-#define GEO_RESOLUTION   3600000
-#define GEO_RADIOUS      6357303
-#define GEO_BES_C1       6334834
-#define GEO_BES_C2       6377397
-#define GEO_BES_C3       0.006674
-#define GEO_GRS_C1       6335439
-#define GEO_GRS_C2       6378137
-#define GEO_GRS_C3       0.006694
-#define GEO_INT2RAD(x)   ((M_PI / (GEO_RESOLUTION * 180)) * (x))
-
 typedef struct {
   grn_id id;
   double d;




Groonga-commit メーリングリストの案内
Back to archive index