diff --git a/Makefile.common b/Makefile.common index ce45f80edd..50a51a570e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -634,7 +634,6 @@ ifeq ($(HAVE_GL_CONTEXT), 1) ifeq ($(HAVE_VULKAN), 1) OBJ += gfx/drivers_context/wayland_ctx_vulkan.o endif - UNIX_COMMON=1 endif ifeq ($(HAVE_GLES), 1) @@ -662,11 +661,6 @@ ifeq ($(HAVE_GL_CONTEXT), 1) DEFINES += -DHAVE_GLSL endif -ifeq ($(UNIX_COMMON),1) - OBJ += gfx/common/unix_common.o -endif - - ifeq ($(HAVE_EGL), 1) OBJ += gfx/common/egl_common.o endif diff --git a/gfx/common/unix_common.c b/gfx/common/unix_common.c deleted file mode 100644 index 82dd848062..0000000000 --- a/gfx/common/unix_common.c +++ /dev/null @@ -1,28 +0,0 @@ -/* RetroArch - A frontend for libretro. - * Copyright (C) 2011-2016 - Daniel De Matteis - * - * RetroArch is free software: you can redistribute it and/or modify it under the terms - * of the GNU General Public License as published by the Free Software Found- - * ation, either version 3 of the License, or (at your option) any later version. - * - * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with RetroArch. - * If not, see . - */ - -#include "unix_common.h" - -bool unix_common_ctl(enum unix_common_ctl_state state, void *data) -{ - switch (state) - { - default: - case UNIX_COMMON_NONE: - break; - } - - return true; -} diff --git a/gfx/common/unix_common.h b/gfx/common/unix_common.h deleted file mode 100644 index 5a1fdf47c3..0000000000 --- a/gfx/common/unix_common.h +++ /dev/null @@ -1,28 +0,0 @@ -/* RetroArch - A frontend for libretro. - * Copyright (C) 2011-2016 - Daniel De Matteis - * - * RetroArch is free software: you can redistribute it and/or modify it under the terms - * of the GNU General Public License as published by the Free Software Found- - * ation, either version 3 of the License, or (at your option) any later version. - * - * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with RetroArch. - * If not, see . - */ - -#ifndef _UNIX_COMMON_H -#define _UNIX_COMMON_H - -#include - -enum unix_common_ctl_state -{ - UNIX_COMMON_NONE = 0 -}; - -bool unix_common_ctl(enum unix_common_ctl_state state, void *data); - -#endif