mirror of https://github.com/MidnightCommander/mc
changed occurence of 'va_list *ap' to 'va_list ap'
This commit is contained in:
parent
7f8b043a3e
commit
48f8f37b97
|
@ -1,3 +1,7 @@
|
||||||
|
1998-11-26 Herbert Valerio Riedel <hvr@hvrlab.ml.org>
|
||||||
|
|
||||||
|
* gtkedit.c: changed occurence of 'va_list *ap' to 'va_list ap'
|
||||||
|
|
||||||
Thu Nov 26 12:20:06 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
Thu Nov 26 12:20:06 1998 Pavel Roskin <pavel_roskin@geocities.com>
|
||||||
|
|
||||||
* config.h.in: Removed from CVS, added to .cvsignore
|
* config.h.in: Removed from CVS, added to .cvsignore
|
||||||
|
|
|
@ -831,7 +831,7 @@ char *gtk_edit_dialog_get_load_file (guchar * dir, guchar * def, guchar * title)
|
||||||
void gtk_edit_dialog_message (guchar * heading, char *fmt,...)
|
void gtk_edit_dialog_message (guchar * heading, char *fmt,...)
|
||||||
{
|
{
|
||||||
gchar s[8192];
|
gchar s[8192];
|
||||||
va_list *ap;
|
va_list ap;
|
||||||
va_start (ap, fmt);
|
va_start (ap, fmt);
|
||||||
vsprintf (s, fmt, ap);
|
vsprintf (s, fmt, ap);
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
@ -849,7 +849,7 @@ int gtk_edit_dialog_query (guchar * heading, guchar * first,...)
|
||||||
char *buttons[16];
|
char *buttons[16];
|
||||||
char s[1024], *r;
|
char s[1024], *r;
|
||||||
int n;
|
int n;
|
||||||
va_list *ap;
|
va_list ap;
|
||||||
va_start (ap, first);
|
va_start (ap, first);
|
||||||
n = 0;
|
n = 0;
|
||||||
while ((buttons[n++] = va_arg (ap, char *)) && n < 15);
|
while ((buttons[n++] = va_arg (ap, char *)) && n < 15);
|
||||||
|
@ -885,7 +885,7 @@ int gtk_edit_dialog_query (guchar * heading, guchar * first,...)
|
||||||
void gtk_edit_dialog_error (guchar * heading, char *fmt, ...)
|
void gtk_edit_dialog_error (guchar * heading, char *fmt, ...)
|
||||||
{
|
{
|
||||||
gchar s[8192];
|
gchar s[8192];
|
||||||
va_list *ap;
|
va_list ap;
|
||||||
va_start (ap, fmt);
|
va_start (ap, fmt);
|
||||||
vsprintf (s, fmt, ap);
|
vsprintf (s, fmt, ap);
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
|
Loading…
Reference in New Issue