diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-06 19:27:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-06 19:27:19 +0200 |
commit | 8fde231cac3a597a9199fd36c5c597555895644c (patch) | |
tree | 6d6954e430d4a0904ba0d4ce7a90e3a9e24e2532 /rpmio/url.c | |
parent | 17fc6663ef4bd647934876638f3aa2edf34d3ce4 (diff) | |
download | librpm-tizen-8fde231cac3a597a9199fd36c5c597555895644c.tar.gz librpm-tizen-8fde231cac3a597a9199fd36c5c597555895644c.tar.bz2 librpm-tizen-8fde231cac3a597a9199fd36c5c597555895644c.zip |
Mark bunch of misc. tables & such read-only in librpmio
Diffstat (limited to 'rpmio/url.c')
-rw-r--r-- | rpmio/url.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/url.c b/rpmio/url.c index 4ce8adf5a..23536f143 100644 --- a/rpmio/url.c +++ b/rpmio/url.c @@ -66,9 +66,9 @@ urlinfo urlFree(urlinfo u) /** */ static struct urlstring { - const char * leadin; + const char const * leadin; urltype ret; -} urlstrings[] = { +} const urlstrings[] = { { "file://", URL_IS_PATH }, { "ftp://", URL_IS_FTP }, { "hkp://", URL_IS_HKP }, @@ -80,7 +80,7 @@ static struct urlstring { urltype urlIsURL(const char * url) { - struct urlstring *us; + const struct urlstring *us; if (url && *url) { for (us = urlstrings; us->leadin != NULL; us++) { |