git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AcessNative - Fix compile errors from API changes (and from compiler upgrade)
[tpg/acess2.git]
/
Usermode
/
Applications
/
login_src
/
main.c
diff --git
a/Usermode/Applications/login_src/main.c
b/Usermode/Applications/login_src/main.c
index
86b1884
..
23d9329
100644
(file)
--- a/
Usermode/Applications/login_src/main.c
+++ b/
Usermode/Applications/login_src/main.c
@@
-9,8
+9,8
@@
#define BUFLEN 1024
// === PROTOTYPES ===
#define BUFLEN 1024
// === PROTOTYPES ===
-char *GetUsername();
-char *GetPassword();
+char *GetUsername(
void
);
+char *GetPassword(
void
);
// === CODE ===
int main(int argc, char *argv[])
// === CODE ===
int main(int argc, char *argv[])
@@
-130,10
+130,6
@@
char *_GetString(int bEcho)
*/
char *GetUsername()
{
*/
char *GetUsername()
{
- char ret[BUFLEN] = {0};
- int pos = 0;
- char ch;
-
// Prompt the user
printf("Username: ");
fflush(stdout);
// Prompt the user
printf("Username: ");
fflush(stdout);
UCC
git Repository :: git.ucc.asn.au