… | |
… | |
37 | * |
37 | * |
38 | * Private: |
38 | * Private: |
39 | * rxvt_update_wtmp (); |
39 | * rxvt_update_wtmp (); |
40 | *----------------------------------------------------------------------*/ |
40 | *----------------------------------------------------------------------*/ |
41 | |
41 | |
42 | #include "../config.h" /* NECESSARY */ |
42 | #include "../config.h" |
43 | #include "rxvt.h" /* NECESSARY */ |
43 | #include "rxvt.h" |
44 | #include "logging.h" |
44 | #include "logging.h" |
|
|
45 | |
45 | #ifdef UTMP_SUPPORT |
46 | #ifdef UTMP_SUPPORT |
46 | |
47 | |
47 | #if HAVE_STRUCT_UTMP |
48 | #if HAVE_STRUCT_UTMP |
48 | int rxvt_write_bsd_utmp (int utmp_pos, struct utmp *wu); |
49 | int rxvt_write_bsd_utmp (int utmp_pos, struct utmp *wu); |
49 | void rxvt_update_wtmp (const char *fname, const struct utmp *putmp); |
50 | void rxvt_update_wtmp (const char *fname, const struct utmp *putmp); |