parser BUGFIX does not check duplicated identifiers in identity
diff --git a/src/parser.h b/src/parser.h
index 12ad1bf..a499a33 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -75,6 +75,9 @@
                      const struct lys_node *node);
 
 int dup_typedef_check(const char *type, struct lys_tpdf *tpdf, int size);
+
+int dup_identities_check(const char *id, struct lys_module *module);
+
 /**
  * @brief Get know if the node is part of the RPC's input/output
  *