Message-ID: <03a401c2d8fa$4cbc2ee0$0600000a@broadpark.no> From: "Gisle Vanem" To: "djgpp-workers" Subject: _dxe_load patch Date: Thu, 20 Feb 2003 17:08:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Reply-To: djgpp-workers AT delorie DOT com Any reason why '_dxe_load()' shouldn't have "const char *" as argument? Here is my patch: --- SRC/LIBC/DXE/DXELOAD.C.org Sat Apr 27 05:52:54 1996 +++ SRC/LIBC/DXE/DXELOAD.C Thu Feb 20 17:01:50 2003 @@ -7,7 +7,7 @@ #include #include -void *_dxe_load(char *name) +void *_dxe_load(const char *name) { dxe_header dh; char *data; --- SRC/LIBC/DXE/DXELOAD.txh.org Sat Feb 1 14:05:10 2003 +++ SRC/LIBC/DXE/DXELOAD.TXH Thu Feb 20 17:01:46 2003 @@ -5,7 +5,7 @@ @example #include -void *_dxe_load(char *dxe_filename); +void *_dxe_load(const char *dxe_filename); @end example @subheading Description --- INCLUDE/SYS/DXE.H.org Mon Jun 29 10:35:24 1998 +++ INCLUDE/SYS/DXE.H Thu Feb 20 17:02:26 2003 @@ -17,7 +17,7 @@ extern "C" { #endif -void *_dxe_load(char *filename); +void *_dxe_load(const char *filename); #ifdef __cplusplus }