1 |
--- pwauth-2.3.10/snooze.c.orig 2011-10-05 07:18:44.000000000 -0600 |
2 |
+++ pwauth-2.3.10/snooze.c 2013-05-21 14:05:07.066802103 -0600 |
3 |
@@ -42,6 +42,7 @@ |
4 |
* sleep time, if other pwauth processes are in sleeps. |
5 |
*/ |
6 |
|
7 |
+void |
8 |
snooze(int seconds) |
9 |
{ |
10 |
int slfd; |
11 |
--- pwauth-2.3.10/lastlog.c.orig 2009-04-03 22:45:56.000000000 -0600 |
12 |
+++ pwauth-2.3.10/lastlog.c 2013-05-21 14:08:39.134622151 -0600 |
13 |
@@ -31,6 +31,8 @@ |
14 |
* ======================================================================= |
15 |
*/ |
16 |
|
17 |
+#include <time.h> |
18 |
+ |
19 |
#include "pwauth.h" |
20 |
|
21 |
/* LASTLOG - update the system's lastlog */ |
22 |
--- pwauth-2.3.10/pwauth.h.orig 2009-04-03 22:45:56.000000000 -0600 |
23 |
+++ pwauth-2.3.10/pwauth.h 2013-05-21 14:10:16.590658544 -0600 |
24 |
@@ -127,3 +127,7 @@ extern int haveuid; |
25 |
#ifndef BFSZ |
26 |
# define BFSZ 1024 |
27 |
#endif |
28 |
+ |
29 |
+void snooze(int seconds); |
30 |
+void lastlog(); |
31 |
+int check_auth(char *login, char *passwd); |
32 |
--- pwauth-2.3.10/main.c.orig 2013-05-21 12:05:22.068346394 -0600 |
33 |
+++ pwauth-2.3.10/main.c 2013-05-21 14:18:29.873121527 -0600 |
34 |
@@ -44,6 +44,7 @@ |
35 |
#endif |
36 |
|
37 |
|
38 |
+int |
39 |
main(int argc, char **argv) |
40 |
{ |
41 |
#ifdef ENV_METHOD |