SCCS-vsn: lib/libc/gen/nlist.c 5.6
SCCS-vsn: lib/libc/mips/gen/nlist.c 5.6
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)nlist.c 5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)nlist.c 5.6 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
- for (s = &nbuf; symbol_size -= sizeof(NLIST);) {
+ for (s = &nbuf; symbol_size; symbol_size -= sizeof(NLIST)) {
if (fread((char *)s, sizeof(NLIST), 1, fsym) != 1)
goto done2;
if (!s->_strx || s->n_type&N_STAB)
if (fread((char *)s, sizeof(NLIST), 1, fsym) != 1)
goto done2;
if (!s->_strx || s->n_type&N_STAB)
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)nlist.c 5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)nlist.c 5.6 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
- for (s = &nbuf; symbol_size -= sizeof(NLIST);) {
+ for (s = &nbuf; symbol_size; symbol_size -= sizeof(NLIST)) {
if (fread((char *)s, sizeof(NLIST), 1, fsym) != 1)
goto done2;
if (!s->_strx || s->n_type&N_STAB)
if (fread((char *)s, sizeof(NLIST), 1, fsym) != 1)
goto done2;
if (!s->_strx || s->n_type&N_STAB)