From f8f0bcd4d3d607c476a8a0ce301232b72a301ef3 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 27 Nov 2015 08:52:59 -0500 Subject: Don't use the _t postfix on non-typedef structures --- swaybg/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaybg/main.c') diff --git a/swaybg/main.c b/swaybg/main.c index e4c699c1..feb9002e 100644 --- a/swaybg/main.c +++ b/swaybg/main.c @@ -12,7 +12,7 @@ list_t *surfaces; struct registry *registry; -enum scaling_mode_t { +enum scaling_mode { SCALING_MODE_STRETCH, SCALING_MODE_FILL, SCALING_MODE_FIT, @@ -62,7 +62,7 @@ int main(int argc, const char **argv) { double height = cairo_image_surface_get_height(image); const char *scaling_mode_str = argv[3]; - enum scaling_mode_t scaling_mode; + enum scaling_mode scaling_mode; if (strcmp(scaling_mode_str, "stretch") == 0) { scaling_mode = SCALING_MODE_STRETCH; } else if (strcmp(scaling_mode_str, "fill") == 0) { -- cgit v1.2.3-54-g00ecf