All of lore.kernel.org
 help / color / mirror / Atom feed
* iio_utils.c defines _IIO_UTILS_H
@ 2015-07-27  4:21 Joo Aun Saw
  2015-07-27  7:47 ` Karol Wrona
  2015-07-27  7:56 ` Daniel Baluta
  0 siblings, 2 replies; 3+ messages in thread
From: Joo Aun Saw @ 2015-07-27  4:21 UTC (permalink / raw)
  To: linux-iio

Hi,

What is the purpose of having ifndef _IIO_UTILS_H and define
_IIO_UTILS_H at the top of iio_utils.c file? Is this a copy and paste
error from the original iio_utils.h file?


Joo.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iio_utils.c defines _IIO_UTILS_H
  2015-07-27  4:21 iio_utils.c defines _IIO_UTILS_H Joo Aun Saw
@ 2015-07-27  7:47 ` Karol Wrona
  2015-07-27  7:56 ` Daniel Baluta
  1 sibling, 0 replies; 3+ messages in thread
From: Karol Wrona @ 2015-07-27  7:47 UTC (permalink / raw)
  To: Joo Aun Saw, linux-iio; +Cc: Hartmut Knaack, Jonathan Cameron

On 07/27/2015 06:21 AM, Joo Aun Saw wrote:
> Hi,
> 
> What is the purpose of having ifndef _IIO_UTILS_H and define
> _IIO_UTILS_H at the top of iio_utils.c file? Is this a copy and paste
> error from the original iio_utils.h file?

Looks like sth added by merge: dc5f2c5f6aa159ebf4b29b169aa1f71cf98d3d6a
I think you can remove that guard.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iio_utils.c defines _IIO_UTILS_H
  2015-07-27  4:21 iio_utils.c defines _IIO_UTILS_H Joo Aun Saw
  2015-07-27  7:47 ` Karol Wrona
@ 2015-07-27  7:56 ` Daniel Baluta
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Baluta @ 2015-07-27  7:56 UTC (permalink / raw)
  To: Joo Aun Saw; +Cc: linux-iio@vger.kernel.org

On Mon, Jul 27, 2015 at 7:21 AM, Joo Aun Saw <jasaw@dius.com.au> wrote:
> Hi,
>
> What is the purpose of having ifndef _IIO_UTILS_H and define
> _IIO_UTILS_H at the top of iio_utils.c file? Is this a copy and paste
> error from the original iio_utils.h file?

Hi Joo,

It's a relict from:

bdcb31d0480 ("staging: iio: Documentation: Introduce iio_utils.c")

Please send a patch.

thanks,
Daniel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-27  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27  4:21 iio_utils.c defines _IIO_UTILS_H Joo Aun Saw
2015-07-27  7:47 ` Karol Wrona
2015-07-27  7:56 ` Daniel Baluta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.