diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-23 21:33:43 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-23 21:33:43 +0000 |
commit | cefcc0426613cc761373e785980c87c77f8a8cb5 (patch) | |
tree | e64653268bcb93fc50bf23d22e38799c5bb31adc /src/htswizard.h | |
parent | 6ba50a2001bcfa1b467f69985a002fc064d8c807 (diff) |
"const correctness" cleanup
added the following default flags:
-Wformat
-Wformat-security
-Wmultichar
-Wwrite-strings
fixed several other warnings
Diffstat (limited to 'src/htswizard.h')
-rw-r--r-- | src/htswizard.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/htswizard.h b/src/htswizard.h index 3c78884..b4d10f8 100644 --- a/src/htswizard.h +++ b/src/htswizard.h @@ -50,11 +50,12 @@ typedef struct lien_url lien_url; #endif int hts_acceptlink(httrackp * opt, int ptr, int lien_tot, lien_url ** liens, - char *adr, char *fil, char *tag, char *attribute, + const char *adr, const char *fil, + const char *tag, const char *attribute, int *set_prio_to_0, int *just_test_it); -int hts_testlinksize(httrackp * opt, char *adr, char *fil, LLint size); +int hts_testlinksize(httrackp * opt, const char *adr, const char *fil, LLint size); int hts_acceptmime(httrackp * opt, int ptr, int lien_tot, lien_url ** liens, - char *adr, char *fil, char *mime); + const char *adr, const char *fil, const char *mime); #endif #endif |