build: avoid another warning
[grep/ericb.git] / src / vms_fab.h
blob45f617a56966fe8dabd48f926b9a051ace05b6a9
1 /*
2 Copyright (C) 1998-2002, 2004-2010 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
17 02110-1301, USA. */
19 This file includes the setup for the file access block for VMS.
20 Written by Phillip C. Brisco 8/98.
23 #include <rms.h>
24 #include <ssdef.h>
25 #include <stddef.h>
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include <string.h>
29 #include <starlet.h>
31 #if defined(VMS) && defined(__DECC) /* need function prototype */
32 # if (__DECC_VER<50790004) /* have an own one */
33 char *alloca(unsigned int);
34 # else
35 # define alloca __ALLOCA
36 # endif
37 #endif
40 struct FAB fab;
41 struct NAM nam;
43 int length_of_fna_buffer;
44 int fab_stat;
45 char expanded_name[NAM$C_MAXRSS];
46 char fna_buffer[NAM$C_MAXRSS];
47 char result_name[NAM$C_MAXRSS];
48 char final_name[NAM$C_MAXRSS];
49 int max_file_path_size = NAM$C_MAXRSS;
50 char *arr_ptr[32767];