untabify. try and prevent tab creep in the future
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..91dbe7f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+# Matches multiple files with brace expansion notation
+# Set default charset
+[*.{c,h}]
+indent_style = space
+indent_size = 2
diff --git a/src/cn-create.c b/src/cn-create.c
index 337a266..37e8f35 100644
--- a/src/cn-create.c
+++ b/src/cn-create.c
@@ -28,8 +28,8 @@
}
cn_cbor* cn_cbor_data_create(const uint8_t* data, int len
- CBOR_CONTEXT,
- cn_cbor_errback *errp)
+ CBOR_CONTEXT,
+ cn_cbor_errback *errp)
{
cn_cbor* ret;
INIT_CB(ret);
@@ -102,7 +102,7 @@
return false;
}
- return _append_kv(cb_map, cb_key, cb_value);
+ return _append_kv(cb_map, cb_key, cb_value);
}
bool cn_cbor_mapput_int(cn_cbor* cb_map,