diff options
author | Roland McGrath <roland@gnu.org> | 2001-08-23 08:36:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-08-23 08:36:47 +0000 |
commit | 9efc8b95af3b3e832d7d3660119c3d487d40d16e (patch) | |
tree | fbd62af5cbd4a910ce1da1e9c1ef4d5b8b6b077d /libio/tst-ungetwc1.c | |
parent | c12aa8015699d66a193c3c183b4f1d1a72bb92c1 (diff) | |
download | glibc-9efc8b95af3b3e832d7d3660119c3d487d40d16e.tar.gz |
* libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
* nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
Diffstat (limited to 'libio/tst-ungetwc1.c')
-rw-r--r-- | libio/tst-ungetwc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-ungetwc1.c b/libio/tst-ungetwc1.c index eeee7f699b..f74c407893 100644 --- a/libio/tst-ungetwc1.c +++ b/libio/tst-ungetwc1.c @@ -11,7 +11,7 @@ int main (void) { FILE *fp; - char *str ="abcdef"; + const char *str = "abcdef"; wint_t ret, wc, ungetone = 0x00E4; /* 0x00E4 means `a umlaut'. */ char fname[] = "/tmp/tst-ungetwc1.out.XXXXXX"; int fd; |