diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h index 455f72338cd..b81fa4a89eb 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -203,7 +203,8 @@ extern char *pgwin32_setlocale(int category, const char *locale); #endif /* WIN32 */ /* Portable prompt handling */ -extern char *simple_prompt(const char *prompt, int maxlen, bool echo); +extern void simple_prompt(const char *prompt, char *destination, size_t destlen, + bool echo); #ifdef WIN32 #define PG_SIGNAL_COUNT 32 |