summaryrefslogtreecommitdiff
path: root/src/htsrobots.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-23 21:33:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-23 21:33:43 +0000
commitcefcc0426613cc761373e785980c87c77f8a8cb5 (patch)
treee64653268bcb93fc50bf23d22e38799c5bb31adc /src/htsrobots.h
parent6ba50a2001bcfa1b467f69985a002fc064d8c807 (diff)
"const correctness" cleanup
added the following default flags: -Wformat -Wformat-security -Wmultichar -Wwrite-strings fixed several other warnings
Diffstat (limited to 'src/htsrobots.h')
-rw-r--r--src/htsrobots.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsrobots.h b/src/htsrobots.h
index 8fcc1c6..9160372 100644
--- a/src/htsrobots.h
+++ b/src/htsrobots.h
@@ -47,9 +47,9 @@ struct robots_wizard {
/* Library internal definictions */
#ifdef HTS_INTERNAL_BYTECODE
-int checkrobots(robots_wizard * robots, char *adr, char *fil);
+int checkrobots(robots_wizard * robots, const char *adr, const char *fil);
void checkrobots_free(robots_wizard * robots);
-int checkrobots_set(robots_wizard * robots, char *adr, char *data);
+int checkrobots_set(robots_wizard * robots, const char *adr, const char *data);
#endif
#endif