Skip to content
Snippets Groups Projects
Commit 20b408c3 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Fixed compiler warnings.

parent b3ddaeea
No related branches found
No related tags found
No related merge requests found
......@@ -975,7 +975,7 @@ void node_dump_text(dnslib_node_t *node, void *data)
}
}
int zone_dump_text(const dnslib_zone_t *zone, const char *filename)
int zone_dump_text(dnslib_zone_t *zone, const char *filename)
{
FILE *f = fopen(filename, "w");
if (f == NULL) {
......
......@@ -24,7 +24,7 @@
* \retval DNSLIB_EOK on success.
* \retval DNSLIB_EBADARG if the specified file is not valid for writing.
*/
int zone_dump_text(const dnslib_zone_t *zone, const char *filename);
int zone_dump_text(dnslib_zone_t *zone, const char *filename);
#endif // _KNOT_DNSLIB_ZONE_DUMP_TEXT_H_
......
......@@ -49,8 +49,6 @@ static int timespec_cmp(struct timespec *x, struct timespec *y)
return -1;
}
static crc_t dnslib_load_crc;
/*!
* \brief Safe wrapper around fread.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment