mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-26 09:54:17 +00:00
svn+ssh://svn.code.sf.net/p/scst/svn/trunk ........ r7272 | bvassche | 2017-12-19 16:35:40 +0000 (Tue, 19 Dec 2017) | 1 line iscsi-scst: UEK 4.1.12-103.9.7.el7uek.x86_64 build fix git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
12 lines
195 B
C
12 lines
195 B
C
#include <linux/module.h>
|
|
#include <linux/net.h>
|
|
|
|
static int modinit(void)
|
|
{
|
|
int (*f)(struct socket *, struct msghdr *, size_t, int) = sock_recvmsg;
|
|
|
|
return f != NULL;
|
|
}
|
|
|
|
module_init(modinit);
|