[PATCH xf86-video-trident 2/2] Rename trident_pci_rename.h to pci_rename.h

Kevin Brace kevinbrace at gmx.com
Sat May 11 03:58:51 UTC 2019


PCI rename header file appears to be generic, so trident_ prefix
should be dropped.

Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/{trident_pci_rename.h => pci_rename.h} | 6 +++---
 src/trident.h                              | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename src/{trident_pci_rename.h => pci_rename.h} (98%)

diff --git a/src/trident_pci_rename.h b/src/pci_rename.h
similarity index 98%
rename from src/trident_pci_rename.h
rename to src/pci_rename.h
index 991273b..c8ebed7 100644
--- a/src/trident_pci_rename.h
+++ b/src/pci_rename.h
@@ -26,8 +26,8 @@
  * library. The main purpose being to facilitate source code compatibility.
  */

-#ifndef TRIDENT_PCI_RENAME_H
-#define TRIDENT_PCI_RENAME_H
+#ifndef PCI_RENAME_H
+#define PCI_RENAME_H

 enum region_type {
     REGION_MEM,
@@ -119,4 +119,4 @@ typedef struct pci_device *pciVideoPtr;

 #endif /* XSERVER_LIBPCIACCESS */

-#endif /* TRIDENT_PCI_RENAME_H */
+#endif /* PCI_RENAME_H */
diff --git a/src/trident.h b/src/trident.h
index 6f2ddc5..5cadf52 100644
--- a/src/trident.h
+++ b/src/trident.h
@@ -30,7 +30,7 @@
 #include <string.h>
 #include <math.h>

-#include "trident_pci_rename.h"
+#include "pci_rename.h"

 #include "exa.h"
 #include "xf86Cursor.h"
--
2.17.1



More information about the xorg-devel mailing list