From 64e324efb362fc41ad1544ab532e80082075206f Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 3 Dec 2022 20:24:27 +0400 Subject: [PATCH] Remove stub code --- Makefile.am | 1 - configure.ac | 2 +- include/drivers.h | 2 -- src/foobar.c | 10 ---------- 4 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 src/foobar.c diff --git a/Makefile.am b/Makefile.am index 1a9b5b1..e1b4cc1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,6 @@ SUBDIRS = include lib_LTLIBRARIES = libdrivers.la libdrivers_la_SOURCES = \ - src/foobar.c \ src/console.c \ src/shutdown.c diff --git a/configure.ac b/configure.ac index 1d38345..c303d4a 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_CANONICAL_HOST AC_CONFIG_MACRO_DIRS([m4]) AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([src/foobar.c]) +AC_CONFIG_SRCDIR([src/shutdown.c]) AC_CONFIG_FILES([ Makefile include/Makefile diff --git a/include/drivers.h b/include/drivers.h index c0f6c88..6f22d87 100644 --- a/include/drivers.h +++ b/include/drivers.h @@ -5,8 +5,6 @@ extern "C" { #endif -int drivers_foobar(int a, int b); - #ifdef __cplusplus } #endif diff --git a/src/foobar.c b/src/foobar.c deleted file mode 100644 index 52f41f3..0000000 --- a/src/foobar.c +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include - -int drivers_foobar(const int a, const int b) -{ - return a + b; -}