From 1d453b5732f52933450c7192860d97e40cf68655 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 4 Sep 2018 15:57:46 +0200 Subject: [PATCH] doc: Fix warning about fp_capture_result The enum values need to be documented before the enum itself, otherwise this warning is thrown: warning: Value descriptions for fp_capture_result are missing in source code comment block. --- libfprint/fprint.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfprint/fprint.h b/libfprint/fprint.h index 7ec48cf..26248cc 100644 --- a/libfprint/fprint.h +++ b/libfprint/fprint.h @@ -163,11 +163,10 @@ int fp_dev_supports_dscv_print(struct fp_dev *dev, struct fp_dscv_print *print) /** * fp_capture_result: - * Whether a capture failed or completed. - * * @FP_CAPTURE_COMPLETE: Capture completed successfully, the capture data has been returned to the caller. * @FP_CAPTURE_FAIL: Capture failed * + * Whether a capture failed or completed. */ enum fp_capture_result { FP_CAPTURE_COMPLETE = 0,