diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-03-23 01:34:05 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-03-23 01:34:05 +0100 |
commit | 7685169385d590731009b83aaed6d449efb7e089 (patch) | |
tree | 8c281c8d81c2fe4e3c2c5ee6b7979f93aac97978 | |
parent | [redshift-gtk] Add BSD support to proc title setting (diff) | |
download | redshift-ng-7685169385d590731009b83aaed6d449efb7e089.tar.gz redshift-ng-7685169385d590731009b83aaed6d449efb7e089.tar.bz2 redshift-ng-7685169385d590731009b83aaed6d449efb7e089.tar.xz |
Fix #22: remove initial underscore from include guards
-rw-r--r-- | src/colorramp.h | 6 | ||||
-rw-r--r-- | src/config-ini.h | 6 | ||||
-rw-r--r-- | src/gamma-drm.h | 6 | ||||
-rw-r--r-- | src/gamma-dummy.h | 6 | ||||
-rw-r--r-- | src/gamma-randr.h | 6 | ||||
-rw-r--r-- | src/gamma-vidmode.h | 6 | ||||
-rw-r--r-- | src/gamma-w32gdi.h | 6 | ||||
-rw-r--r-- | src/location-geoclue.h | 6 | ||||
-rw-r--r-- | src/location-manual.h | 6 | ||||
-rw-r--r-- | src/redshift.h | 6 | ||||
-rw-r--r-- | src/solar.h | 6 | ||||
-rw-r--r-- | src/systemtime.h | 6 |
12 files changed, 36 insertions, 36 deletions
diff --git a/src/colorramp.h b/src/colorramp.h index f391082..dd0fa97 100644 --- a/src/colorramp.h +++ b/src/colorramp.h @@ -17,12 +17,12 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_COLORRAMP_H -#define _REDSHIFT_COLORRAMP_H +#ifndef REDSHIFT_COLORRAMP_H +#define REDSHIFT_COLORRAMP_H #include <stdint.h> void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b, int size, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_COLORRAMP_H */ +#endif /* ! REDSHIFT_COLORRAMP_H */ diff --git a/src/config-ini.h b/src/config-ini.h index e1bff73..5cdcc72 100644 --- a/src/config-ini.h +++ b/src/config-ini.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_CONFIG_INI_H -#define _REDSHIFT_CONFIG_INI_H +#ifndef REDSHIFT_CONFIG_INI_H +#define REDSHIFT_CONFIG_INI_H typedef struct _config_ini_section config_ini_section_t; typedef struct _config_ini_setting config_ini_setting_t; @@ -46,4 +46,4 @@ void config_ini_free(config_ini_state_t *state); config_ini_section_t *config_ini_get_section(config_ini_state_t *state, const char *name); -#endif /* ! _REDSHIFT_CONFIG_INI_H */ +#endif /* ! REDSHIFT_CONFIG_INI_H */ diff --git a/src/gamma-drm.h b/src/gamma-drm.h index 8ef0ba5..f4c0df5 100644 --- a/src/gamma-drm.h +++ b/src/gamma-drm.h @@ -17,8 +17,8 @@ Copyright (c) 2014 Mattias Andrée <maandree@member.fsf.org> */ -#ifndef _REDSHIFT_GAMMA_DRM_H -#define _REDSHIFT_GAMMA_DRM_H +#ifndef REDSHIFT_GAMMA_DRM_H +#define REDSHIFT_GAMMA_DRM_H #include <stdint.h> @@ -55,4 +55,4 @@ void drm_restore(drm_state_t *state); int drm_set_temperature(drm_state_t *state, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_GAMMA_DRM_H */ +#endif /* ! REDSHIFT_GAMMA_DRM_H */ diff --git a/src/gamma-dummy.h b/src/gamma-dummy.h index a092408..64bc40d 100644 --- a/src/gamma-dummy.h +++ b/src/gamma-dummy.h @@ -17,8 +17,8 @@ Copyright (c) 2013 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_GAMMA_DUMMY_H -#define _REDSHIFT_GAMMA_DUMMY_H +#ifndef REDSHIFT_GAMMA_DUMMY_H +#define REDSHIFT_GAMMA_DUMMY_H #include "redshift.h" @@ -35,4 +35,4 @@ int gamma_dummy_set_temperature(void *state, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_GAMMA_DUMMY_H */ +#endif /* ! REDSHIFT_GAMMA_DUMMY_H */ diff --git a/src/gamma-randr.h b/src/gamma-randr.h index d8bb86b..cef0021 100644 --- a/src/gamma-randr.h +++ b/src/gamma-randr.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_GAMMA_RANDR_H -#define _REDSHIFT_GAMMA_RANDR_H +#ifndef REDSHIFT_GAMMA_RANDR_H +#define REDSHIFT_GAMMA_RANDR_H #include <stdio.h> #include <stdint.h> @@ -58,4 +58,4 @@ int randr_set_temperature(randr_state_t *state, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_GAMMA_RANDR_H */ +#endif /* ! REDSHIFT_GAMMA_RANDR_H */ diff --git a/src/gamma-vidmode.h b/src/gamma-vidmode.h index 9a2b7d9..8afd8fd 100644 --- a/src/gamma-vidmode.h +++ b/src/gamma-vidmode.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_GAMMA_VIDMODE_H -#define _REDSHIFT_GAMMA_VIDMODE_H +#ifndef REDSHIFT_GAMMA_VIDMODE_H +#define REDSHIFT_GAMMA_VIDMODE_H #include <stdio.h> #include <stdint.h> @@ -46,4 +46,4 @@ int vidmode_set_temperature(vidmode_state_t *state, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_GAMMA_VIDMODE_H */ +#endif /* ! REDSHIFT_GAMMA_VIDMODE_H */ diff --git a/src/gamma-w32gdi.h b/src/gamma-w32gdi.h index 5178991..e81f4c5 100644 --- a/src/gamma-w32gdi.h +++ b/src/gamma-w32gdi.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_GAMMA_W32GDI_H -#define _REDSHIFT_GAMMA_W32GDI_H +#ifndef REDSHIFT_GAMMA_W32GDI_H +#define REDSHIFT_GAMMA_W32GDI_H #include <windows.h> #include <wingdi.h> @@ -42,4 +42,4 @@ int w32gdi_set_temperature(w32gdi_state_t *state, int temp, float brightness, const float gamma[3]); -#endif /* ! _REDSHIFT_GAMMA_W32GDI_H */ +#endif /* ! REDSHIFT_GAMMA_W32GDI_H */ diff --git a/src/location-geoclue.h b/src/location-geoclue.h index 5f845c7..54a527b 100644 --- a/src/location-geoclue.h +++ b/src/location-geoclue.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> */ -#ifndef _REDSHIFT_LOCATION_GEOCLUE_H -#define _REDSHIFT_LOCATION_GEOCLUE_H +#ifndef REDSHIFT_LOCATION_GEOCLUE_H +#define REDSHIFT_LOCATION_GEOCLUE_H #include <stdio.h> #include <geoclue/geoclue-position.h> @@ -41,4 +41,4 @@ int location_geoclue_get_location(location_geoclue_state_t *state, float *lat, float *lon); -#endif /* ! _REDSHIFT_LOCATION_GEOCLUE_H */ +#endif /* ! REDSHIFT_LOCATION_GEOCLUE_H */ diff --git a/src/location-manual.h b/src/location-manual.h index 13c77da..389294d 100644 --- a/src/location-manual.h +++ b/src/location-manual.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_LOCATION_MANUAL_H -#define _REDSHIFT_LOCATION_MANUAL_H +#ifndef REDSHIFT_LOCATION_MANUAL_H +#define REDSHIFT_LOCATION_MANUAL_H #include <stdio.h> @@ -41,4 +41,4 @@ int location_manual_get_location(location_manual_state_t *state, float *lat, float *lon); -#endif /* ! _REDSHIFT_LOCATION_MANUAL_H */ +#endif /* ! REDSHIFT_LOCATION_MANUAL_H */ diff --git a/src/redshift.h b/src/redshift.h index c284fc1..3a87877 100644 --- a/src/redshift.h +++ b/src/redshift.h @@ -17,8 +17,8 @@ Copyright (c) 2013 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_REDSHIFT_H -#define _REDSHIFT_REDSHIFT_H +#ifndef REDSHIFT_REDSHIFT_H +#define REDSHIFT_REDSHIFT_H #include <stdio.h> #include <stdlib.h> @@ -91,4 +91,4 @@ typedef struct { } location_provider_t; -#endif /* ! _REDSHIFT_REDSHIFT_H */ +#endif /* ! REDSHIFT_REDSHIFT_H */ diff --git a/src/solar.h b/src/solar.h index b5554ef..5ff6ed6 100644 --- a/src/solar.h +++ b/src/solar.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _SOLAR_H -#define _SOLAR_H +#ifndef REDSHIFT_SOLAR_H +#define REDSHIFT_SOLAR_H #include "time.h" @@ -48,4 +48,4 @@ typedef enum { double solar_elevation(double date, double lat, double lon); void solar_table_fill(double date, double lat, double lon, double *table); -#endif /* ! _SOLAR_H */ +#endif /* ! REDSHIFT_SOLAR_H */ diff --git a/src/systemtime.h b/src/systemtime.h index 1d51217..90da169 100644 --- a/src/systemtime.h +++ b/src/systemtime.h @@ -17,8 +17,8 @@ Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> */ -#ifndef _REDSHIFT_SYSTEMTIME_H -#define _REDSHIFT_SYSTEMTIME_H +#ifndef REDSHIFT_SYSTEMTIME_H +#define REDSHIFT_SYSTEMTIME_H #ifndef _WIN32 # include <time.h> @@ -29,4 +29,4 @@ int systemtime_get_time(double *now); -#endif /* ! _REDSHIFT_SYSTEMTIME_H */ +#endif /* ! REDSHIFT_SYSTEMTIME_H */ |