This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vms/committed] export the right vms_convert_to_var function
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Tue, 3 Aug 2010 17:18:33 +0200
- Subject: [vms/committed] export the right vms_convert_to_var function
Hi,
vms_convert_to_var was wrongly made public instead of _bfd_vms_convert_to_var_unix_filename. This makes the build
failed on vms host.
Tristan.
bfd/
2010-08-03 Tristan Gingold <gingold@adacore.com>
* vms-misc.c (vms_convert_to_var): Make it static.
(_bfd_vms_convert_to_var_unix_filename): Make it public.
Index: vms-misc.c
===================================================================
RCS file: /cvs/src/src/bfd/vms-misc.c,v
retrieving revision 1.37
diff -c -r1.37 vms-misc.c
*** vms-misc.c 11 Jun 2010 15:13:32 -0000 1.37
--- vms-misc.c 3 Aug 2010 15:14:28 -0000
***************
*** 401,408 ****
using undocumented system call sys$modify().
Pure VMS version. */
! void
! _bfd_vms_convert_to_var (char * vms_filename)
{
struct FAB fab = cc$rms_fab;
--- 401,408 ----
using undocumented system call sys$modify().
Pure VMS version. */
! static void
! vms_convert_to_var (char * vms_filename)
{
struct FAB fab = cc$rms_fab;
***************
*** 433,440 ****
using undocumented system call sys$modify().
Unix filename version. */
! static int
! vms_convert_to_var_unix_filename (const char *unix_filename)
{
if (decc$to_vms (unix_filename, &vms_convert_to_var_1, 0, 1) != 1)
return FALSE;
--- 433,440 ----
using undocumented system call sys$modify().
Unix filename version. */
! int
! _bfd_vms_convert_to_var_unix_filename (const char *unix_filename)
{
if (decc$to_vms (unix_filename, &vms_convert_to_var_1, 0, 1) != 1)
return FALSE;