-#if defined(HAVE_TCSETATTR)
- static struct termios termb;
- static tcflag_t flags;
-#else
-#if defined(HAVE_TERMIO_H)
- static struct termio termb;
- static unsigned short flags;
-#else
-#if defined(HAVE_STTY)
- static struct sgttyb ttyb;
- static int flags;
-#endif
-#endif
-#endif
-
-void static save_tty_state(void);
-void static disable_tty_echo(void);
-void static restore_tty_state(void);
-static RETSIGTYPE sigint_handler(int);
-
-char *getpassword(prompt)
-char *prompt;
+static struct termios termb;
+static tcflag_t flags;
+
+static void save_tty_state(void);
+static void disable_tty_echo(void);
+static void restore_tty_state(void);
+static void sigint_handler(int);
+
+char *fm_getpassword(char *prompt)