From c4274303ea59e59097127bcc5e4a401dc32a7b86 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 27 Apr 2016 15:10:26 -0700 Subject: [PATCH] Fix indentation --- geojson.hpp | 50 +++++++++++++++++++++++++------------------------- main.hpp | 10 +++++----- pool.hpp | 6 +++--- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/geojson.hpp b/geojson.hpp index 925145b..f96d6e3 100644 --- a/geojson.hpp +++ b/geojson.hpp @@ -1,29 +1,29 @@ struct parse_json_args { - json_pull *jp; - const char *reading; - volatile long long *layer_seq; - volatile long long *progress_seq; - long long *metapos; - long long *geompos; - long long *indexpos; - struct pool *exclude; - struct pool *include; - int exclude_all; - FILE *metafile; - FILE *geomfile; - FILE *indexfile; - struct memfile *poolfile; - struct memfile *treefile; - char *fname; - int basezoom; - int layer; - double droprate; - long long *file_bbox; - int segment; - int *initialized; - unsigned *initial_x; - unsigned *initial_y; - struct reader *readers; + json_pull *jp; + const char *reading; + volatile long long *layer_seq; + volatile long long *progress_seq; + long long *metapos; + long long *geompos; + long long *indexpos; + struct pool *exclude; + struct pool *include; + int exclude_all; + FILE *metafile; + FILE *geomfile; + FILE *indexfile; + struct memfile *poolfile; + struct memfile *treefile; + char *fname; + int basezoom; + int layer; + double droprate; + long long *file_bbox; + int segment; + int *initialized; + unsigned *initial_x; + unsigned *initial_y; + struct reader *readers; }; struct json_pull *json_begin_map(char *map, long long len); diff --git a/main.hpp b/main.hpp index ff0338d..e842511 100644 --- a/main.hpp +++ b/main.hpp @@ -1,9 +1,9 @@ struct index { - long long start; - long long end; - unsigned long long index; - short segment; - unsigned long long seq : (64 - 16); // pack with segment to stay in 32 bytes + long long start; + long long end; + unsigned long long index; + short segment; + unsigned long long seq : (64 - 16); // pack with segment to stay in 32 bytes }; void checkdisk(struct reader *r, int nreader); diff --git a/pool.hpp b/pool.hpp index 378aadf..c064524 100644 --- a/pool.hpp +++ b/pool.hpp @@ -24,9 +24,9 @@ void pool_init(struct pool *p, int n); int is_pooled(struct pool *p, const char *s, int type); struct stringpool { - long long left; - long long right; - long long off; + long long left; + long long right; + long long off; }; long long addpool(struct memfile *poolfile, struct memfile *treefile, const char *s, char type);