diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 13:23:03 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 13:23:03 +0200 |
commit | a0da5b01a5f4628000ee40dc069e119caaca57e2 (patch) | |
tree | 079319ab8ca804b89c0bf74b04a4efa3697cb5cd /src/xgi_driver.c | |
parent | c904d2e1c36ab6d7f6b871ad4df00f64b85b8082 (diff) |
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-xgi/-/merge_requests/5>
Diffstat (limited to 'src/xgi_driver.c')
-rw-r--r-- | src/xgi_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xgi_driver.c b/src/xgi_driver.c index bf33663..e91d957 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -685,7 +685,7 @@ void XGIAddAvailableModes(DisplayModePtr availModes) first->next = p; */ - p->name = xnfalloc(strlen(ExtraAvailableModeTiming[i].name) + 1); + p->name = XNFalloc(strlen(ExtraAvailableModeTiming[i].name) + 1); p->name = ExtraAvailableModeTiming[i].name; p->status = MODE_OK; |