Skip to content

Commit

Permalink
Merge pull request #75 from ikerexxe/y2038_utmp
Browse files Browse the repository at this point in the history
Remove unused `utmp` interface
  • Loading branch information
alandekok authored Aug 3, 2023
2 parents 8d37353 + 6454d82 commit 7d75a31
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5693,12 +5693,6 @@ then :
printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h

fi
ac_fn_c_check_header_compile "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
if test "x$ac_cv_header_utmp_h" = xyes
then :
printf "%s\n" "#define HAVE_UTMP_H 1" >>confdefs.h

fi


ac_fn_c_check_header_compile "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
Expand Down
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ AC_CHECK_HEADERS( \
syslog.h \
poll.h \
time.h \
unistd.h \
utmp.h
unistd.h
)

AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
Expand Down
3 changes: 0 additions & 3 deletions src/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

Expand Down
1 change: 0 additions & 1 deletion src/pam_radius_auth.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <stdlib.h>
#include <syslog.h>
#include <stdarg.h>
#include <utmp.h>
#include <time.h>
#include <netinet/in.h>
#include <netdb.h>
Expand Down

0 comments on commit 7d75a31

Please sign in to comment.