summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-01-22 17:52:49 +0000
committerAndres Gomez <[email protected]>2018-08-09 03:48:12 +0300
commit9dacf10ca8165ca49c812ea82492dbf3e1d2a74c (patch)
treee354ad5936a3be99bcf6c6c3cfd85a1c2469e53a /src
parent7af6be8864d7d8fecd61750c43751df0989a9416 (diff)
swr: don't export swr_create_screen_internal
With earlier rework the user and provider of the symbol are within the same binary. Thus there's no point in exporting the function. Spotted while reviewing patch from Chuck, that nearly added another unneeded PUBLIC function. Cc: Chuck Atkins <[email protected]> Cc: Tim Rowley <[email protected]> Fixes: f50aa21456d "(swr: build driver proper separate from rasterizer") Signed-off-by: Emil Velikov <[email protected]> Tested-by: Chuck Atkins <[email protected]> Reviewed-By: George Kyriazis <[email protected]<mailto:[email protected]>> Tested-by: Chuck Atkins <[email protected]<mailto:[email protected]>> (cherry picked from commit 54d844897fe0afea4b5ddf08565af49a8191d808)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/swr_public.h2
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_public.h b/src/gallium/drivers/swr/swr_public.h
index 07ea6280cd6..b32f41fdf7b 100644
--- a/src/gallium/drivers/swr/swr_public.h
+++ b/src/gallium/drivers/swr/swr_public.h
@@ -37,7 +37,7 @@ extern "C" {
struct pipe_screen *swr_create_screen(struct sw_winsys *winsys);
// arch-specific dll entry point
-PUBLIC struct pipe_screen *swr_create_screen_internal(struct sw_winsys *winsys);
+struct pipe_screen *swr_create_screen_internal(struct sw_winsys *winsys);
// cleanup for failed screen creation
void swr_destroy_screen_internal(struct swr_screen **screen);
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index 67085444f84..084f55dab99 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -1143,7 +1143,6 @@ swr_validate_env_options(struct swr_screen *screen)
}
-PUBLIC
struct pipe_screen *
swr_create_screen_internal(struct sw_winsys *winsys)
{