mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
elf: Remove unused functions from tst-audit25(a,b)
This commit is contained in:
parent
692c2571c8
commit
bc02f1fa2f
@ -49,14 +49,6 @@ handle_restart (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
startswith (const char *str, const char *pre)
|
||||
{
|
||||
size_t lenpre = strlen (pre);
|
||||
size_t lenstr = strlen (str);
|
||||
return lenstr < lenpre ? false : memcmp (pre, str, lenpre) == 0;
|
||||
}
|
||||
|
||||
static int
|
||||
do_test (int argc, char *argv[])
|
||||
{
|
||||
|
@ -48,14 +48,6 @@ handle_restart (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
startswith (const char *str, const char *pre)
|
||||
{
|
||||
size_t lenpre = strlen (pre);
|
||||
size_t lenstr = strlen (str);
|
||||
return lenstr >= lenpre && memcmp (pre, str, lenpre) == 0;
|
||||
}
|
||||
|
||||
static int
|
||||
do_test (int argc, char *argv[])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user