mirror of
https://github.com/tailix/drivers.git
synced 2024-11-20 11:06:32 -05:00
Remove stub code
This commit is contained in:
parent
e2f20188f9
commit
64e324efb3
4 changed files with 1 additions and 14 deletions
|
@ -8,7 +8,6 @@ SUBDIRS = include
|
||||||
lib_LTLIBRARIES = libdrivers.la
|
lib_LTLIBRARIES = libdrivers.la
|
||||||
|
|
||||||
libdrivers_la_SOURCES = \
|
libdrivers_la_SOURCES = \
|
||||||
src/foobar.c \
|
|
||||||
src/console.c \
|
src/console.c \
|
||||||
src/shutdown.c
|
src/shutdown.c
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ AC_CANONICAL_HOST
|
||||||
|
|
||||||
AC_CONFIG_MACRO_DIRS([m4])
|
AC_CONFIG_MACRO_DIRS([m4])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_SRCDIR([src/foobar.c])
|
AC_CONFIG_SRCDIR([src/shutdown.c])
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
include/Makefile
|
include/Makefile
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int drivers_foobar(int a, int b);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
10
src/foobar.c
10
src/foobar.c
|
@ -1,10 +0,0 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <drivers.h>
|
|
||||||
|
|
||||||
int drivers_foobar(const int a, const int b)
|
|
||||||
{
|
|
||||||
return a + b;
|
|
||||||
}
|
|
Loading…
Reference in a new issue