From 83040631d6e636299f1329ebbab8bafc29dbf538 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 14 Jul 2017 12:45:51 +0200 Subject: [PATCH] gpiod.h: move the mainpage doxygen comment down Move it to where the libgpiod declarations begin. Signed-off-by: Bartosz Golaszewski --- include/gpiod.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/gpiod.h b/include/gpiod.h index c2c6e7c..5bbd874 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -8,15 +8,6 @@ * as published by the Free Software Foundation. */ -/** - * @mainpage libgpiod public API - * - * This is the documentation of the public API exported by libgpiod. - * - *

These functions and data structures allow to use all the functionalities - * exposed by the linux GPIO character device interface. - */ - #ifndef __LIBGPIOD_GPIOD_H__ #define __LIBGPIOD_GPIOD_H__ @@ -28,6 +19,15 @@ extern "C" { #endif +/** + * @mainpage libgpiod public API + * + * This is the documentation of the public API exported by libgpiod. + * + *

These functions and data structures allow to use all the functionalities + * exposed by the linux GPIO character device interface. + */ + struct gpiod_chip; struct gpiod_line; struct gpiod_chip_iter; -- 2.30.2