summaryrefslogtreecommitdiffstats
path: root/usr.bin/makewhatis/makewhatis.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/makewhatis/makewhatis.c')
-rw-r--r--usr.bin/makewhatis/makewhatis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/makewhatis/makewhatis.c b/usr.bin/makewhatis/makewhatis.c
index 6b2dce4..f2ae370 100644
--- a/usr.bin/makewhatis/makewhatis.c
+++ b/usr.bin/makewhatis/makewhatis.c
@@ -879,9 +879,9 @@ process_section(char *section_dir)
* Returns whether the directory entry is a man page section.
*/
static int
-select_sections(struct dirent *entry)
+select_sections(const struct dirent *entry)
{
- char *p = &entry->d_name[3];
+ const char *p = &entry->d_name[3];
if (strncmp(entry->d_name, "man", 3) != 0)
return 0;
OpenPOWER on IntegriCloud