Add prefix to header guard. #191

This commit is contained in:
Qball Cow 2015-07-27 10:17:12 +02:00
parent 8104997e6f
commit 2bbd589f0d
7 changed files with 17 additions and 17 deletions

View file

@ -1,5 +1,5 @@
#ifndef HELPER_H
#define HELPER_H
#ifndef ROFI_HELPER_H
#define ROFI_HELPER_H
#include "rofi.h"
/**
* @param string The input string.
@ -149,4 +149,4 @@ char helper_parse_char ( const char *arg );
* Set the application arguments.
*/
void cmd_set_arguments ( int argc, char **argv );
#endif // HELPER_H
#endif // ROFI_HELPER_H

View file

@ -24,8 +24,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#ifndef HISTORY_H
#define HISTORY_H
#ifndef ROFI_HISTORY_H
#define ROFI_HISTORY_H
/**
* @param filename The filename of the history cache.

View file

@ -1,5 +1,5 @@
#ifndef KEYB_H
#define KEYB_H
#ifndef ROFI_KEYB_H
#define ROFI_KEYB_H
typedef enum _KeyBindingAction
{
@ -69,4 +69,4 @@ void cleanup_abe ( void );
* @returns TRUE if key combo matches, FALSE otherwise.
*/
int abe_test_action ( KeyBindingAction action, unsigned int mask, KeySym key );
#endif // KEYB_H
#endif // ROFI_KEYB_H

View file

@ -1,5 +1,5 @@
#ifndef SIMPLESWITCHER_H
#define SIMPLESWITCHER_H
#ifndef ROFI_MAIN_H
#define ROFI_MAIN_H
#include <X11/X.h>
#include <glib.h>
#include <textbox.h>

View file

@ -1,5 +1,5 @@
#ifndef TEXTBOX_H
#define TEXTBOX_H
#ifndef ROFI_TEXTBOX_H
#define ROFI_TEXTBOX_H
#include <X11/Xft/Xft.h>
#include <pango/pango.h>
@ -246,4 +246,4 @@ int textbox_get_estimated_char_height ( void );
void textbox_text_markup ( textbox *tb, const char *text );
#endif //TEXTBOX_H
#endif //ROFI_TEXTBOX_H

View file

@ -1,5 +1,5 @@
#ifndef X11_HELPER_H
#define X11_HELPER_H
#ifndef X11_ROFI_HELPER_H
#define X11_ROFI_HELPER_H
int window_get_prop ( Display *display, Window w, Atom prop,

View file

@ -1,5 +1,5 @@
#ifndef XRMOPTIONS_H
#define XRMOPTIONS_H
#ifndef ROFI_XRMOPTIONS_H
#define ROFI_XRMOPTIONS_H
// Big thanks to Sean Pringle for this code.
// This maps xresource options to config structure.