aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 94d00cf24..0ac5965cd 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -98,7 +98,11 @@ overwrite_filep( const char *fname )
/****************
* Strip know extensions from iname and return a newly allocated
* filename. Return NULL if we can't do that.
+ *
+ * (See vmslib/vms.c for the VMS-specific replacement function,
+ * vms_make_outfile_name())
*/
+#ifndef __VMS
char *
make_outfile_name( const char *iname )
{
@@ -125,6 +129,7 @@ make_outfile_name( const char *iname )
log_info(_("%s: unknown suffix\n"), iname );
return NULL;
}
+#endif /* ndef __VMS */
/****************