aboutsummaryrefslogtreecommitdiffstats
path: root/misc/estic/files/patch-password.cc
blob: 731e5816c2429ce1dd7fb4a85d78950d2240989e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- spunk/password.cc.orig	1996-11-07 17:06:48 UTC
+++ spunk/password.cc
@@ -525,14 +525,14 @@ LINK (PasswordColl, ID_PasswordColl);
 
 
 
-static void EntryEditor (PasswordEntry* E, int& Abort, int& Changed)
+inline void EntryEditor (PasswordEntry* E, int& Abort, int& Changed)
 // Allow editing of one password entry
 {
     // ID's of the menue items
-    const miUserID      = 1;
-    const miUserName    = 2;
-    const miPassword    = 3;
-    const miLevel       = 4;
+    const int miUserID      = 1;
+    const int miUserName    = 2;
+    const int miPassword    = 3;
+    const int miLevel       = 4;
 
      // Remember the crc of the entry
     u32 OldCRC = GetCRC (E);