Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
From bdb3cd081a694f8f6924e399d944e32c1578235c Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Wed, 22 Jul 2015 11:03:27 +0200
Subject: [PATCH] Remove inline keyword
Fixes GCC5.x compilation issues related to C99 inline semantics.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
socketcand.h | 8 ++++----
state_bcm.c | 2 +-
state_control.c | 2 +-
state_isotp.c | 2 +-
state_raw.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/socketcand.h b/socketcand.h
index a287fe2..39eef83 100644
--- a/socketcand.h
+++ b/socketcand.h
@@ -27,10 +27,10 @@
#undef DEBUG_RECEPTION
-inline void state_bcm();
-inline void state_raw();
-inline void state_isotp();
-inline void state_control();
+void state_bcm();
+void state_raw();
+void state_isotp();
+void state_control();
extern int client_socket;
extern char **interface_names;
diff --git a/state_bcm.c b/state_bcm.c
index c63a0a9..0c980fa 100644
--- a/state_bcm.c
+++ b/state_bcm.c
@@ -28,7 +28,7 @@ int sc = -1;
fd_set readfds;
struct timeval tv;
-inline void state_bcm() {
+void state_bcm() {
int i, ret;
struct sockaddr_can caddr;
socklen_t caddrlen = sizeof(caddr);
diff --git a/state_control.c b/state_control.c
index 5f62b74..baa9df6 100644
--- a/state_control.c
+++ b/state_control.c
@@ -17,7 +17,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
-inline void state_control() {
+void state_control() {
char buf[MAXLEN];
int i, items;
diff --git a/state_isotp.c b/state_isotp.c
index ae66035..4005f94 100644
--- a/state_isotp.c
+++ b/state_isotp.c
@@ -24,7 +24,7 @@
int si = -1;
fd_set readfds;
-inline void state_isotp() {
+void state_isotp() {
int i, items, ret;
struct sockaddr_can addr;
diff --git a/state_raw.c b/state_raw.c
index 1bd2ece..99111ae 100644
--- a/state_raw.c
+++ b/state_raw.c
@@ -31,7 +31,7 @@ char ctrlmsg[CMSG_SPACE(sizeof(struct timeval)) + CMSG_SPACE(sizeof(__u32))];
struct timeval tv;
struct cmsghdr *cmsg;
-inline void state_raw() {
+void state_raw() {
char buf[MAXLEN];
int i, ret, items;
--
2.1.4

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_SOCKETCAND
bool "socketcand"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
help
Socketcand is a daemon that provides access to CAN interfaces
on a machine via a network interface.
https://github.com/dschanoeh/socketcand
comment "socketcand needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,19 @@
################################################################################
#
# socketcand
#
################################################################################
SOCKETCAND_VERSION = 8339e62a6bf60be571672678fb1de544768cf40e
SOCKETCAND_SITE = $(call github,dschanoeh,socketcand,$(SOCKETCAND_VERSION))
SOCKETCAND_AUTORECONF = YES
SOCKETCAND_LICENSE = BSD-3c or GPLv2
SOCKETCAND_LICENSE_FILES = socketcand.c
ifeq ($(BR2_PACKAGE_LIBCONFIG),y)
SOCKETCAND_DEPENDENCIES = libconfig
else
SOCKETCAND_CONF_OPTS = --without-config
endif
$(eval $(autotools-package))