log: Re-indent fpi-log using uncrustify

This commit is contained in:
Benjamin Berg 2019-11-13 17:56:55 +01:00
parent 6a1e7103f6
commit 65e602d8c7
2 changed files with 10 additions and 10 deletions

View file

@ -183,7 +183,7 @@ do_movement_estimation (struct fpi_frame_asmbl_ctx *ctx,
*/ */
void void
fpi_do_movement_estimation (struct fpi_frame_asmbl_ctx *ctx, fpi_do_movement_estimation (struct fpi_frame_asmbl_ctx *ctx,
GSList *stripes) GSList *stripes)
{ {
int err, rev_err; int err, rev_err;
@ -277,7 +277,7 @@ aes_blit_stripe (struct fpi_frame_asmbl_ctx *ctx,
*/ */
FpImage * FpImage *
fpi_assemble_frames (struct fpi_frame_asmbl_ctx *ctx, fpi_assemble_frames (struct fpi_frame_asmbl_ctx *ctx,
GSList *stripes) GSList *stripes)
{ {
GSList *l; GSList *l;
FpImage *img; FpImage *img;

View file

@ -80,19 +80,19 @@
* *
* Uses fp_err() to print an error if the @condition is true. * Uses fp_err() to print an error if the @condition is true.
*/ */
#define BUG_ON(condition) G_STMT_START \ #define BUG_ON(condition) G_STMT_START \
if (condition) { \ if (condition) { \
char *s; \ char *s; \
s = g_strconcat ("BUG: (", #condition, ")", NULL); \ s = g_strconcat ("BUG: (", #condition, ")", NULL); \
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \ fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
g_free (s); \ g_free (s); \
} G_STMT_END } G_STMT_END
/** /**
* BUG: * BUG:
* *
* Same as BUG_ON() but is always true. * Same as BUG_ON() but is always true.
*/ */
#define BUG() BUG_ON(1) #define BUG() BUG_ON (1)
#endif #endif