From 0e06f75d89a762be9731eb40ee14d8535e1ae184 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Fri, 24 Jun 2005 12:27:45 +0000 Subject: Make opendir() filename const in Win32-land & friends That fact that it wasn't const already was highlighted by a warning from pp_open_dir() generated by change 24743. Rather than undo the const change in pp_open_dir(), this seems to make more sense. Hope I haven't broken Netware or WinCE. p4raw-id: //depot/perl@24974 --- win32/include/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/include') diff --git a/win32/include/dirent.h b/win32/include/dirent.h index a66901234f..5037825425 100644 --- a/win32/include/dirent.h +++ b/win32/include/dirent.h @@ -42,7 +42,7 @@ typedef struct _dir_struc } DIR; #if 0 /* these have moved to win32iop.h */ -DIR * win32_opendir(char *filename); +DIR * win32_opendir(const char *filename); struct direct * win32_readdir(DIR *dirp); long win32_telldir(DIR *dirp); void win32_seekdir(DIR *dirp,long loc); -- cgit v1.2.1