diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-05-21 20:19:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-05-21 20:19:54 +0000 |
commit | 3b43494000bba0633fccbb481c77825927ebb8fb (patch) | |
tree | a49c146c4cebb1b2e502deb0997371aafc668db7 /iconv/iconv_prog.c | |
parent | 0efb48a1dfd132138a44c238b6e7f67a185a360e (diff) | |
download | glibc-3b43494000bba0633fccbb481c77825927ebb8fb.tar.gz glibc-3b43494000bba0633fccbb481c77825927ebb8fb.tar.xz glibc-3b43494000bba0633fccbb481c77825927ebb8fb.zip |
Update.
* locale/locale.h (struct lconv): Add new elements from ISO C99. * locale/localeconv.c: Initialize new elements from ISO C99. * iconv/iconv_prog.c (process_block): Remove const from second parameter. (main): Remove const from addr definition.
Diffstat (limited to 'iconv/iconv_prog.c')
-rw-r--r-- | iconv/iconv_prog.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 9ad6033787..1ac23e019c 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -98,8 +98,7 @@ static int verbose; static int list; /* Prototypes for the functions doing the actual work. */ -static int process_block (iconv_t cd, const char *addr, size_t len, - FILE *output); +static int process_block (iconv_t cd, char *addr, size_t len, FILE *output); static int process_fd (iconv_t cd, int fd, FILE *output); static int process_file (iconv_t cd, FILE *input, FILE *output); static void print_known_names (void) internal_function; @@ -172,7 +171,7 @@ main (int argc, char *argv[]) do { struct stat st; - const char *addr; + char *addr; int fd; @@ -323,7 +322,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ static int -process_block (iconv_t cd, const char *addr, size_t len, FILE *output) +process_block (iconv_t cd, char *addr, size_t len, FILE *output) { #define OUTBUF_SIZE 32768 const char *start = addr; |