Skip to content

Commit

Permalink
iio.h: Fix whitespace differences/inconsistances
Browse files Browse the repository at this point in the history
the "__api ..." should be at the start of the line, not one space in.

Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz committed Jan 27, 2020
1 parent 4338558 commit bffde86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ __api __pure const char * iio_device_find_buffer_attr(
* returned when reading the attribute; if positive, it corresponds to the
* length of the data read. In that case, the rest of the block contains
* the data. */
__api ssize_t iio_device_attr_read(const struct iio_device *dev,
__api ssize_t iio_device_attr_read(const struct iio_device *dev,
const char *attr, char *dst, size_t len);


Expand Down Expand Up @@ -778,7 +778,7 @@ __api int iio_device_attr_write_double(const struct iio_device *dev,
* returned when reading the attribute; if positive, it corresponds to the
* length of the data read. In that case, the rest of the block contains
* the data. */
__api ssize_t iio_device_buffer_attr_read(const struct iio_device *dev,
__api ssize_t iio_device_buffer_attr_read(const struct iio_device *dev,
const char *attr, char *dst, size_t len);

/** @brief Read the content of all buffer-specific attributes
Expand Down

0 comments on commit bffde86

Please sign in to comment.