change variable name from private to priv because of swig bindings to javascript

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
diff --git a/src/tree_schema.c b/src/tree_schema.c
index ee344ca..deb6ad2 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -1873,8 +1873,8 @@
     ctx = node->module->ctx;
 
     /* remove private object */
-    if (node->private && private_destructor) {
-        private_destructor(node, node->private);
+    if (node->priv && private_destructor) {
+        private_destructor(node, node->priv);
     }
 
     /* common part */
@@ -2756,8 +2756,8 @@
         return NULL;
     }
 
-    prev = node->private;
-    ((struct lys_node *)node)->private = priv;
+    prev = node->priv;
+    ((struct lys_node *)node)->priv = priv;
 
     return prev;
 }