[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH] process: InputSu: remove unused parameter
From: |
Simon Ruderich |
Subject: |
[screen-devel] [PATCH] process: InputSu: remove unused parameter |
Date: |
Sat, 6 Feb 2016 16:47:08 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
---
src/process.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/process.c b/src/process.c
index 063b835..98f633c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -92,7 +92,7 @@ static void ColonFin(char *, size_t, void *);
static void InputSelect(void);
static void InputSetenv(char *);
static void InputAKA(void);
-static int InputSu(Window *, struct acluser **, char *);
+static int InputSu(struct acluser **, char *);
static void suFin(char *, size_t, void *);
static void AKAFin(char *, size_t, void *);
static void copy_reg_fn(char *, size_t, void *);
@@ -3294,9 +3294,9 @@ void DoAction(struct action *act, int key)
s = NULL;
if (!*args) {
OutputMsg(0, "%s:%s screen login", HostName,
SocketPath);
- InputSu(D_fore, &D_user, NULL);
+ InputSu(&D_user, NULL);
} else if (!args[1])
- InputSu(D_fore, &D_user, args[0]);
+ InputSu(&D_user, args[0]);
else if (!args[2])
s = DoSu(&D_user, args[0], args[1], "\377");
else
@@ -5252,7 +5252,7 @@ static void suFin(char *buf, size_t len, void *data)
}
}
-static int InputSu(Window *win, struct acluser **up, char *name)
+static int InputSu(struct acluser **up, char *name)
{
struct inputsu *i;
--
2.7.0
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [PATCH] process: InputSu: remove unused parameter,
Simon Ruderich <=