* edit.h: Removed catstrs, as it is only used in editcmd.c.
* editcmd.c (catstrs): Changed declaration to be static.
Этот коммит содержится в:
родитель
b49ac634f5
Коммит
e8e0035587
@ -1,7 +1,7 @@
|
|||||||
2005-02-07 Roland Illig <roland.illig@gmx.de>
|
2005-02-07 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* edit.h (catstrs): Changed the return type to "const char *".
|
* edit.h: Removed catstrs, as it is only used in editcmd.c.
|
||||||
* editcmd.c (catstrs): Likewise.
|
* editcmd.c (catstrs): Changed declaration to be static.
|
||||||
* editcmd.c: Added const qualifiers.
|
* editcmd.c: Added const qualifiers.
|
||||||
* syntax.c: Don't use catstrs anymore.
|
* syntax.c: Don't use catstrs anymore.
|
||||||
* edit.c (user_menu): Likewise.
|
* edit.c (user_menu): Likewise.
|
||||||
|
@ -186,7 +186,6 @@ int edit_save_block_cmd (WEdit * edit);
|
|||||||
int edit_insert_file_cmd (WEdit * edit);
|
int edit_insert_file_cmd (WEdit * edit);
|
||||||
int edit_insert_file (WEdit * edit, const char *filename);
|
int edit_insert_file (WEdit * edit, const char *filename);
|
||||||
void edit_block_process_cmd (WEdit * edit, const char *shell_cmd, int block);
|
void edit_block_process_cmd (WEdit * edit, const char *shell_cmd, int block);
|
||||||
const char *catstrs (const char *first, ...);
|
|
||||||
void freestrs (void);
|
void freestrs (void);
|
||||||
void edit_refresh_cmd (WEdit * edit);
|
void edit_refresh_cmd (WEdit * edit);
|
||||||
void edit_date_cmd (WEdit * edit);
|
void edit_date_cmd (WEdit * edit);
|
||||||
|
@ -131,7 +131,8 @@ static char *stacked[16];
|
|||||||
The result is later automatically free'd and must not be free'd
|
The result is later automatically free'd and must not be free'd
|
||||||
by the caller.
|
by the caller.
|
||||||
*/
|
*/
|
||||||
const char *catstrs (const char *first,...)
|
static const char *
|
||||||
|
catstrs (const char *first,...)
|
||||||
{
|
{
|
||||||
static int i = 0;
|
static int i = 0;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user