Skip to content

Commit

Permalink
Merge pull request #97 from emersion/identifier-violation
Browse files Browse the repository at this point in the history
Don't use all-caps identifiers with a leading underscore
  • Loading branch information
emersion authored Nov 24, 2018
2 parents 9c4fea7 + 35ea2d1 commit c75eba6
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions include/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_CONFIG_H
#define _MAKO_CONFIG_H
#ifndef MAKO_CONFIG_H
#define MAKO_CONFIG_H

#include <stdbool.h>
#include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions include/criteria.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_CRITERIA_H
#define _MAKO_CRITERIA_H
#ifndef MAKO_CRITERIA_H
#define MAKO_CRITERIA_H

#include <stdbool.h>
#include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions include/dbus.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_DBUS_H
#define _MAKO_DBUS_H
#ifndef MAKO_DBUS_H
#define MAKO_DBUS_H

#include <stdbool.h>
#ifdef HAVE_SYSTEMD
Expand Down
4 changes: 2 additions & 2 deletions include/enum.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _ENUM_H_
#define _ENUM_H_
#ifndef MAKO_ENUM_H_
#define MAKO_ENUM_H_

// State is intended to work as a bitmask, so if more need to be added in the
// future, this should be taken into account.
Expand Down
4 changes: 2 additions & 2 deletions include/event-loop.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _EVENT_LOOP_H
#define _EVENT_LOOP_H
#ifndef MAKO_EVENT_LOOP_H
#define MAKO_EVENT_LOOP_H

#include <poll.h>
#include <stdbool.h>
Expand Down
4 changes: 2 additions & 2 deletions include/mako.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_H
#define _MAKO_H
#ifndef MAKO_H
#define MAKO_H

#include <stdbool.h>
#include <wayland-client.h>
Expand Down
4 changes: 2 additions & 2 deletions include/notification.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_NOTIFICATION_H
#define _MAKO_NOTIFICATION_H
#ifndef MAKO_NOTIFICATION_H
#define MAKO_NOTIFICATION_H

#include <stdbool.h>
#include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions include/pool-buffer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_POOL_BUFFER_H
#define _MAKO_POOL_BUFFER_H
#ifndef MAKO_POOL_BUFFER_H
#define MAKO_POOL_BUFFER_H

#include <cairo/cairo.h>
#include <pango/pangocairo.h>
Expand Down
4 changes: 2 additions & 2 deletions include/render.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_RENDER_H
#define _MAKO_RENDER_H
#ifndef MAKO_RENDER_H
#define MAKO_RENDER_H

struct mako_state;

Expand Down
4 changes: 2 additions & 2 deletions include/types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_TYPES_H
#define _MAKO_TYPES_H
#ifndef MAKO_TYPES_H
#define MAKO_TYPES_H

#include <stdbool.h>
#include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions include/wayland.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _MAKO_WAYLAND_H
#define _MAKO_WAYLAND_H
#ifndef MAKO_WAYLAND_H
#define MAKO_WAYLAND_H

#include <stdbool.h>
#include <wayland-client-protocol.h>
Expand Down

0 comments on commit c75eba6

Please sign in to comment.