X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_scanw.c;h=1ed36a5213296212581d90a07d32180c2dbef9ba;hp=b05bfde153af5621de51211f55576372b64d678c;hb=d6c65d287166c3105ece4a5e3f3ec7af5a5f26a3;hpb=e23d7db3de8b85766c7c1ccf66b738870b473da2 diff --git a/ncurses/base/lib_scanw.c b/ncurses/base/lib_scanw.c index b05bfde1..1ed36a52 100644 --- a/ncurses/base/lib_scanw.c +++ b/ncurses/base/lib_scanw.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2011,2018 Free Software Foundation, Inc. * + * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 1998-2009,2011 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -40,7 +41,7 @@ #include -MODULE_ID("$Id: lib_scanw.c,v 1.17 2018/06/09 20:19:20 tom Exp $") +MODULE_ID("$Id: lib_scanw.c,v 1.19 2020/02/02 23:34:34 tom Exp $") NCURSES_EXPORT(int) vwscanw(WINDOW *win, const char *fmt, va_list argp) @@ -73,7 +74,7 @@ vw_scanw(WINDOW *win, const char *fmt, va_list argp) } NCURSES_EXPORT(int) -scanw(const char *fmt,...) +scanw(const char *fmt, ...) { int code; va_list ap; @@ -87,7 +88,7 @@ scanw(const char *fmt,...) } NCURSES_EXPORT(int) -wscanw(WINDOW *win, const char *fmt,...) +wscanw(WINDOW *win, const char *fmt, ...) { int code; va_list ap; @@ -101,7 +102,7 @@ wscanw(WINDOW *win, const char *fmt,...) } NCURSES_EXPORT(int) -mvscanw(int y, int x, const char *fmt,...) +mvscanw(int y, int x, const char *fmt, ...) { int code; va_list ap; @@ -113,7 +114,7 @@ mvscanw(int y, int x, const char *fmt,...) } NCURSES_EXPORT(int) -mvwscanw(WINDOW *win, int y, int x, const char *fmt,...) +mvwscanw(WINDOW *win, int y, int x, const char *fmt, ...) { int code; va_list ap;