#ifndef INCLUDES_H
#define INCLUDES_H
-#ifndef __UNUSED
-# define __UNUSED __attribute__ ((unused))
-#endif
-
-#ifndef __dead
-# define __dead
-#endif
-
#ifndef _PATH_TTY
# define _PATH_TTY "/dev/tty"
#endif
#include "openbsd.h"
#ifdef USE_PAM
-int pamauth(const char *, const char *, int, int);
+void pamauth(const char *, const char *, int, int, int);
#endif
#ifdef USE_SHADOW
void shadowauth(const char *, int);
#endif
-#ifdef PERSIST_TIMESTAMP
-int persist_open(int *, int);
-int persist_set(int, int);
-int persist_clear();
+#ifdef USE_TIMESTAMP
+int timestamp_open(int *, int);
+int timestamp_set(int, int);
+int timestamp_clear(void);
#endif
#endif /* INCLUDES_H */