mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
log: Re-indent fpi-log using uncrustify
This commit is contained in:
@@ -183,7 +183,7 @@ do_movement_estimation (struct fpi_frame_asmbl_ctx *ctx,
|
||||
*/
|
||||
void
|
||||
fpi_do_movement_estimation (struct fpi_frame_asmbl_ctx *ctx,
|
||||
GSList *stripes)
|
||||
GSList *stripes)
|
||||
{
|
||||
int err, rev_err;
|
||||
|
||||
@@ -277,7 +277,7 @@ aes_blit_stripe (struct fpi_frame_asmbl_ctx *ctx,
|
||||
*/
|
||||
FpImage *
|
||||
fpi_assemble_frames (struct fpi_frame_asmbl_ctx *ctx,
|
||||
GSList *stripes)
|
||||
GSList *stripes)
|
||||
{
|
||||
GSList *l;
|
||||
FpImage *img;
|
||||
|
||||
@@ -80,19 +80,19 @@
|
||||
*
|
||||
* Uses fp_err() to print an error if the @condition is true.
|
||||
*/
|
||||
#define BUG_ON(condition) G_STMT_START \
|
||||
if (condition) { \
|
||||
char *s; \
|
||||
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
|
||||
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
|
||||
g_free (s); \
|
||||
} G_STMT_END
|
||||
#define BUG_ON(condition) G_STMT_START \
|
||||
if (condition) { \
|
||||
char *s; \
|
||||
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
|
||||
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
|
||||
g_free (s); \
|
||||
} G_STMT_END
|
||||
|
||||
/**
|
||||
* BUG:
|
||||
*
|
||||
* Same as BUG_ON() but is always true.
|
||||
*/
|
||||
#define BUG() BUG_ON(1)
|
||||
#define BUG() BUG_ON (1)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user