mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle: fix miracle.h include protection
Move it to the top like we do in all other files.. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
parent
b161687cb7
commit
3db84c3822
1 changed files with 3 additions and 3 deletions
|
@ -23,6 +23,9 @@
|
||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef MIRACLE_H
|
||||||
|
#define MIRACLE_H
|
||||||
|
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -32,9 +35,6 @@
|
||||||
#include "shl_log.h"
|
#include "shl_log.h"
|
||||||
#include "shl_macro.h"
|
#include "shl_macro.h"
|
||||||
|
|
||||||
#ifndef MIRACLE_H
|
|
||||||
#define MIRACLE_H
|
|
||||||
|
|
||||||
static inline void cleanup_sd_bus_message(sd_bus_message **ptr)
|
static inline void cleanup_sd_bus_message(sd_bus_message **ptr)
|
||||||
{
|
{
|
||||||
sd_bus_message_unref(*ptr);
|
sd_bus_message_unref(*ptr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue