Make verifyAttrs and virtualFileAttributes static
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 7 Jul 2008 07:52:33 +0000 (10:52 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 7 Jul 2008 07:52:33 +0000 (10:52 +0300)
- nothing outside files.c needs

build/files.c

index 98dcb62..8931cfb 100644 (file)
@@ -253,7 +253,7 @@ typedef const struct VFA {
 
 /**
  */
-VFA_t const verifyAttrs[] = {
+static VFA_t const verifyAttrs[] = {
     { "md5",   0,      RPMVERIFY_MD5 },
     { "size",  0,      RPMVERIFY_FILESIZE },
     { "link",  0,      RPMVERIFY_LINKTO },
@@ -758,7 +758,7 @@ exit:
 
 /**
  */
-VFA_t virtualFileAttributes[] = {
+static VFA_t virtualFileAttributes[] = {
        { "%dir",       0,      0 },    /* XXX why not RPMFILE_DIR? */
        { "%doc",       0,      RPMFILE_DOC },
        { "%ghost",     0,      RPMFILE_GHOST },