File: 0002-fixed-function-signature.patch

package info (click to toggle)
otp 1%3A1.2.2-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 232 kB
  • sloc: ansic: 1,068; makefile: 73; sh: 10
file content (24 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Syed Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Date: Wed, 5 Nov 2025 02:30:14 +0500
Subject: Fixed function signature.
Forwarded: not-needed

---
 otp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/otp.c b/otp.c
index 96ba96e..4f2a0d6 100644
--- a/otp.c
+++ b/otp.c
@@ -69,8 +69,8 @@ extern int getpid(), getppid(), gethostid();
     replace these with includes of the proper header files.  */
 
 extern int32_t o_random();
-extern char *o_initstate();
-extern char *o_setstate();
+extern char *o_initstate(u_int seed, char *arg_state, int n);
+extern char *o_setstate(char *arg_state);
 
 #define PW_LENGTH 8		      /* Default password length */