summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-29 20:52:30 +0000
committerMiles Bader <miles@gnu.org>1996-05-29 20:52:30 +0000
commit2c34d319eb24729aed4d94165c8a8930cc07fc7b (patch)
tree78d9694767d4e96bdde39cc1d36af1c6d4de89da /proc
parent3ca0dd1b80abe4ec13fec5ea8a8d62ea3b7e80aa (diff)
(S_proc_getprocinfo): Get rid of temp hack for strnlen.
Diffstat (limited to 'proc')
-rw-r--r--proc/info.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/proc/info.c b/proc/info.c
index c64dd6d7..a9b49ff7 100644
--- a/proc/info.c
+++ b/proc/info.c
@@ -503,12 +503,9 @@ S_proc_getprocinfo (struct proc *callerp,
desc, &pi->threadinfos[i].rpc_block))
desc[0] = '\0'; /* Don't know. */
-/* Temporary XXX */
-#define strnlen(a,b) (strlen (a))
/* See how long DESC is, being sure not to barf if it's
unterminated (string_t's are fixed length). */
desc_len = strnlen (desc, sizeof desc);
-#undef strnlen
if (waits_used + desc_len + 1 > *waits_len)
/* Not enough room in WAITS, we must allocate more. */