[Mesa-dev] [PATCH v2 2/2] [swr] remove unneeded extern "C"

Ilia Mirkin imirkin at alum.mit.edu
Thu Feb 16 04:04:55 UTC 2017


Thanks for taking care of these!

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Wed, Feb 15, 2017 at 10:53 PM, George Kyriazis
<george.kyriazis at intel.com> wrote:
> the guards have been added to the header files that needed them.
> ---
>  src/gallium/drivers/swr/swr_context.cpp | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/src/gallium/drivers/swr/swr_context.cpp b/src/gallium/drivers/swr/swr_context.cpp
> index 2e37bac..3e17edc 100644
> --- a/src/gallium/drivers/swr/swr_context.cpp
> +++ b/src/gallium/drivers/swr/swr_context.cpp
> @@ -34,11 +34,8 @@
>  #include "util/u_format.h"
>  #include "util/u_atomic.h"
>  #include "util/u_upload_mgr.h"
> -
> -extern "C" {
>  #include "util/u_transfer.h"
>  #include "util/u_surface.h"
> -}
>
>  #include "api.h"
>  #include "backend.h"
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list