[PATCH] xfree86: remove the redundant space for the pointer variables.

zhaoxiao zhaoxiao at uniontech.com
Fri Mar 5 02:44:45 UTC 2021


The variable sectlist don't match the coding style.

Signed-off-by: zhaoxiao <zhaoxiao at uniontech.com>
---
 hw/xfree86/common/xf86Helper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c
index 31aa068e0..e6cad9fa3 100644
--- a/hw/xfree86/common/xf86Helper.c
+++ b/hw/xfree86/common/xf86Helper.c
@@ -1273,7 +1273,7 @@ xf86PrintChipsets(const char *drvname, const char *drvmsg, SymTabPtr chips)
 }
 
 int
-xf86MatchDevice(const char *drivername, GDevPtr ** sectlist)
+xf86MatchDevice(const char *drivername, GDevPtr **sectlist)
 {
     GDevPtr gdp, *pgdp = NULL;
     confScreenPtr screensecptr;
@@ -1295,7 +1295,7 @@ xf86MatchDevice(const char *drivername, GDevPtr ** sectlist)
      * loads at run time.
      *
      * ChipProbe can call
-     * int xf86MatchDevice(char * drivername, GDevPtr ** sectlist)
+     * int xf86MatchDevice(char *drivername, GDevPtr **sectlist)
      * with its driver name. The function allocates an array of GDevPtr and
      * returns this via sectlist and returns the number of elements in
      * this list as return value. 0 means none found, -1 means fatal error.
-- 
2.20.1





More information about the xorg-devel mailing list