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 | * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with (diff) | |
download | glibc-9efc8b95af3b3e832d7d3660119c3d487d40d16e.tar.gz glibc-9efc8b95af3b3e832d7d3660119c3d487d40d16e.tar.bz2 glibc-9efc8b95af3b3e832d7d3660119c3d487d40d16e.zip |
* 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; |