diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-10-27 21:39:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-10-27 21:39:59 +0000 |
commit | 0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200 (patch) | |
tree | d9bf37b1a193cb3a52c598349d33c61c00a6aeca /sysdeps | |
parent | aa85b49673c934c0eeeec9e6e302f94fa1b165ab (diff) | |
download | glibc-0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200.tar glibc-0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200.tar.gz glibc-0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200.tar.bz2 glibc-0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200.zip |
2.3.3-74cvs/fedora-glibc-2_3_3-74
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/glob.c | 1 | ||||
-rw-r--r-- | sysdeps/gnu/netinet/udp.h | 18 |
2 files changed, 11 insertions, 8 deletions
diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c index 658599ec1f..c0e76b377e 100644 --- a/sysdeps/generic/glob.c +++ b/sysdeps/generic/glob.c @@ -1135,6 +1135,7 @@ globfree (pglob) if (pglob->gl_pathv[pglob->gl_offs + i] != NULL) free ((__ptr_t) pglob->gl_pathv[pglob->gl_offs + i]); free ((__ptr_t) pglob->gl_pathv); + pglob->gl_pathv = NULL; } } #if defined _LIBC && !defined globfree diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index 8977712822..45b69f7499 100644 --- a/sysdeps/gnu/netinet/udp.h +++ b/sysdeps/gnu/netinet/udp.h @@ -54,21 +54,23 @@ /* UDP header as specified by RFC 768, August 1980. */ #ifdef __FAVOR_BSD + struct udphdr { - uint16_t uh_sport; /* source port */ - uint16_t uh_dport; /* destination port */ - uint16_t uh_ulen; /* udp length */ - uint16_t uh_sum; /* udp checksum */ + u_int16_t uh_sport; /* source port */ + u_int16_t uh_dport; /* destination port */ + u_int16_t uh_ulen; /* udp length */ + u_int16_t uh_sum; /* udp checksum */ }; + #else struct udphdr { - uint16_t source; - uint16_t dest; - uint16_t len; - uint16_t check; + u_int16_t source; + u_int16_t dest; + u_int16_t len; + u_int16_t check; }; #endif |