License header and vim modeline

This commit is contained in:
Sascha Kruse 2013-02-22 06:09:13 +00:00
parent e82da9d5e7
commit cff9c74e0e
11 changed files with 17 additions and 0 deletions

3
menu.c
View File

@ -1,3 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdbool.h> #include <stdbool.h>
#include <regex.h> #include <regex.h>
@ -212,3 +214,4 @@ void context_menu(void)
dispatch_menu_result(buf); dispatch_menu_result(buf);
} }
/* vim: set ts=8 sw=8 tw=0: */

1
menu.h
View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#include "dunst.h" #include "dunst.h"
#include <regex.h> #include <regex.h>

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
@ -410,3 +411,4 @@ int notification_close(notification * n, int reason)
return -1; return -1;
return notification_close_by_id(n->id, reason); return notification_close_by_id(n->id, reason);
} }
/* vim: set ts=8 sw=8 tw=0: */

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once #pragma once
#include "x.h" #include "x.h"

View File

@ -1,4 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <string.h> #include <string.h>

View File

@ -1,3 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#include <glib.h> #include <glib.h>
#include <fnmatch.h> #include <fnmatch.h>
@ -64,3 +66,4 @@ bool rule_matches_notification(rule_t * r, notification * n)
&& (!r->body || !fnmatch(r->body, n->body, 0)) && (!r->body || !fnmatch(r->body, n->body, 0))
&& (!r->icon || !fnmatch(r->icon, n->icon, 0))); && (!r->icon || !fnmatch(r->icon, n->icon, 0)));
} }
/* vim: set ts=8 sw=8 tw=0: */

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once #pragma once
#include <glib.h> #include <glib.h>

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#include <glib.h> #include <glib.h>
#include <basedir.h> #include <basedir.h>
@ -301,3 +302,4 @@ void load_settings(char *cmdline_config_path)
xdgWipeHandle(&xdg); xdgWipeHandle(&xdg);
#endif #endif
} }
/* vim: set ts=8 sw=8 tw=0: */

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once #pragma once
typedef struct _settings { typedef struct _settings {

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <string.h> #include <string.h>

View File

@ -1,3 +1,4 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#ifndef UTIL_H #ifndef UTIL_H
#define UTIL_H #define UTIL_H
/* replace all occurrences of needle with replacement in haystack */ /* replace all occurrences of needle with replacement in haystack */