X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Flogin_src%2Fmain.c;h=23d932948629b82bafb72d13a7cab90da18ea973;hb=341d51ca40a4a26ed89914feaacc940c64b22197;hp=86b188420a5d27d82129b4a8d0d699c0b5696da5;hpb=df2b2e6922947da996079186883e852c6ede3bee;p=tpg%2Facess2.git diff --git a/Usermode/Applications/login_src/main.c b/Usermode/Applications/login_src/main.c index 86b18842..23d93294 100644 --- a/Usermode/Applications/login_src/main.c +++ b/Usermode/Applications/login_src/main.c @@ -9,8 +9,8 @@ #define BUFLEN 1024 // === PROTOTYPES === -char *GetUsername(); -char *GetPassword(); +char *GetUsername(void); +char *GetPassword(void); // === CODE === int main(int argc, char *argv[]) @@ -130,10 +130,6 @@ char *_GetString(int bEcho) */ char *GetUsername() { - char ret[BUFLEN] = {0}; - int pos = 0; - char ch; - // Prompt the user printf("Username: "); fflush(stdout);