mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
r5861: Apply some const
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c137362871
commit
d89b40e9b1
@ -131,7 +131,7 @@ static void help(void)
|
|||||||
"\n");
|
"\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void terror(char *why)
|
static void terror(const char *why)
|
||||||
{
|
{
|
||||||
printf("%s\n", why);
|
printf("%s\n", why);
|
||||||
}
|
}
|
||||||
@ -407,7 +407,7 @@ static void info_tdb(void)
|
|||||||
printf("%d records totalling %d bytes\n", count, total_bytes);
|
printf("%d records totalling %d bytes\n", count, total_bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *tdb_getline(char *prompt)
|
static char *tdb_getline(const char *prompt)
|
||||||
{
|
{
|
||||||
static char line[1024];
|
static char line[1024];
|
||||||
char *p;
|
char *p;
|
||||||
|
Reference in New Issue
Block a user