mirror of
git://git.gnu.org.ua/wordsplit.git
synced 2025-04-25 16:19:54 +03:00
Minor fixes.
* wordsplit.c (_wsplt_error): Provide the format attribute. (wsplt_assign_param): Add missing static qualifier.
This commit is contained in:
parent
813e12d6e6
commit
92f0904c20
1 changed files with 4 additions and 1 deletions
|
@ -70,6 +70,9 @@ _wsplt_alloc_die (struct wordsplit *wsp)
|
|||
abort ();
|
||||
}
|
||||
|
||||
static void _wsplt_error (const char *fmt, ...)
|
||||
__attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
static void
|
||||
_wsplt_error (const char *fmt, ...)
|
||||
{
|
||||
|
@ -1207,7 +1210,7 @@ wsplt_assign_var (struct wordsplit *wsp, const char *name, size_t namelen,
|
|||
return WRDSE_OK;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
wsplt_assign_param (struct wordsplit *wsp, int param_idx, char *value)
|
||||
{
|
||||
char *v;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue