lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51613A0A.3060706@acm.org>
Date:	Sun, 07 Apr 2013 11:19:06 +0200
From:	Bart Van Assche <bvanassche@....org>
To:	Patrick McHardy <kaber@...sh.net>
CC:	jon.maloy@...csson.com, allan.stephens@...driver.com,
	netdev@...r.kernel.org, roland@...nel.org, sean.hefty@...el.com,
	hal.rosenstock@...il.com, linux-rdma@...r.kernel.org
Subject: Re: [PATCH 4/5] tipc: add InfiniBand media type

On 04/03/13 14:43, Patrick McHardy wrote:
> diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h
> +#ifdef CONFIG_TIPC_MEDIA_IB
> +int  tipc_ib_media_start(void);
> +void tipc_ib_media_stop(void);
> +#else
> +int  tipc_ib_media_start(void) { return 0; }
> +void tipc_ib_media_stop(void)  { return; }
> +#endif

Is the above a definition of a non-inline function pair in a header file 
? I'm afraid that will cause trouble when including that header file in 
more than one source file.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ