/[tar]/tar/src/xheader.c
ViewVC logotype

Diff of /tar/src/xheader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by gray, Wed Oct 8 11:17:52 2003 UTC revision 1.8 by eggert, Mon Nov 3 23:03:35 2003 UTC
# Line 36  struct xhdr_tab Line 36  struct xhdr_tab
36    void (*decoder) (struct tar_stat_info *, char const *);    void (*decoder) (struct tar_stat_info *, char const *);
37  };  };
38    
39  static struct xhdr_tab const xhdr_tab[];  /* This declaration must specify the number of elements in xhdr_tab,
40       because ISO C99 section 6.9.2 prohibits a tentative definition that
41       has both internal linkage and incomplete type.  */
42    static struct xhdr_tab const xhdr_tab[13];
43    
44  static struct xhdr_tab const *  static struct xhdr_tab const *
45  locate_handler (char const *keyword)  locate_handler (char const *keyword)
# Line 420  static struct xhdr_tab const xhdr_tab[] Line 423  static struct xhdr_tab const xhdr_tab[]
423    { "uid",      uid_coder,      uid_decoder     },    { "uid",      uid_coder,      uid_decoder     },
424    { "uname",    uname_coder,    uname_decoder   },    { "uname",    uname_coder,    uname_decoder   },
425    
426      /* The number of entries in xhdr_tab must agree with the array
427         bounds in xhdr_tab's forward declaration.  */
428    
429  #if 0 /* GNU private keywords (not yet implemented) */  #if 0 /* GNU private keywords (not yet implemented) */
430    /* Sparse file handling */    /* Sparse file handling */
431    { "GNU.sparse.offset",     sparse_offset_coder, sparse_offset_decoder },    { "GNU.sparse.offset",     sparse_offset_coder, sparse_offset_decoder },

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26