projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa4c17
)
(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
author
Jim Meyering
<jim@meyering.net>
Thu, 3 Feb 2000 12:20:59 +0000
(12:20 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 3 Feb 2000 12:20:59 +0000
(12:20 +0000)
rather than with `#if HAVE_UTMPNAME'.
lib/readutmp.c
patch
|
blob
|
history
diff --git
a/lib/readutmp.c
b/lib/readutmp.c
index 1c680f0271d37d118a785d10a3df1c2f28dd49a4..e14408add8a75738c8e2bd8acd11b583d2a9c2cc 100644
(file)
--- a/
lib/readutmp.c
+++ b/
lib/readutmp.c
@@
-57,7
+57,7
@@
extract_trimmed_name (const STRUCT_UTMP *ut)
the number of entries, and return zero. If there is any error,
return non-zero and don't modify the parameters. */
-#if
HAVE_UTMPNAME
+#if
def UTMP_NAME_FUNCTION
int
read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)