New upstream version 4.15.1
This commit is contained in:
+4
-3
@@ -31,7 +31,8 @@ static /*@null@*/ /*@only@*/void *shadow_dup (const void *ent)
|
||||
return __spw_dup (sp);
|
||||
}
|
||||
|
||||
static void shadow_free (/*@out@*//*@only@*/void *ent)
|
||||
static void
|
||||
shadow_free(/*@only@*/void *ent)
|
||||
{
|
||||
struct spwd *sp = ent;
|
||||
|
||||
@@ -47,7 +48,7 @@ static const char *shadow_getname (const void *ent)
|
||||
|
||||
static void *shadow_parse (const char *line)
|
||||
{
|
||||
return (void *) sgetspent (line);
|
||||
return sgetspent (line);
|
||||
}
|
||||
|
||||
static int shadow_put (const void *ent, FILE * file)
|
||||
@@ -164,7 +165,7 @@ int spw_open (int mode)
|
||||
|
||||
int spw_update (const struct spwd *sp)
|
||||
{
|
||||
return commonio_update (&shadow_db, (const void *) sp);
|
||||
return commonio_update (&shadow_db, sp);
|
||||
}
|
||||
|
||||
int spw_remove (const char *name)
|
||||
|
||||
Reference in New Issue
Block a user