cosmetic: Move WL_EXPORT out of header files
Most of the code only puts WL_EXPORT in .c files. Remove the few instances in header files. If it's missing form the associated .c, put it there instead.
This commit is contained in:
committed by
Pekka Paalanen
parent
8f7d30a466
commit
d1be3128d0
+3
-3
@@ -963,10 +963,10 @@ weston_view_from_global_fixed(struct weston_view *view,
|
|||||||
wl_fixed_t x, wl_fixed_t y,
|
wl_fixed_t x, wl_fixed_t y,
|
||||||
wl_fixed_t *vx, wl_fixed_t *vy);
|
wl_fixed_t *vx, wl_fixed_t *vy);
|
||||||
|
|
||||||
WL_EXPORT void
|
void
|
||||||
weston_surface_to_buffer_float(struct weston_surface *surface,
|
weston_surface_to_buffer_float(struct weston_surface *surface,
|
||||||
float x, float y, float *bx, float *by);
|
float x, float y, float *bx, float *by);
|
||||||
WL_EXPORT void
|
void
|
||||||
weston_surface_to_buffer(struct weston_surface *surface,
|
weston_surface_to_buffer(struct weston_surface *surface,
|
||||||
int sx, int sy, int *bx, int *by);
|
int sx, int sy, int *bx, int *by);
|
||||||
pixman_box32_t
|
pixman_box32_t
|
||||||
@@ -1196,7 +1196,7 @@ weston_view_schedule_repaint(struct weston_view *view);
|
|||||||
int
|
int
|
||||||
weston_surface_is_mapped(struct weston_surface *surface);
|
weston_surface_is_mapped(struct weston_surface *surface);
|
||||||
|
|
||||||
WL_EXPORT void
|
void
|
||||||
weston_surface_set_size(struct weston_surface *surface,
|
weston_surface_set_size(struct weston_surface *surface,
|
||||||
int32_t width, int32_t height);
|
int32_t width, int32_t height);
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -32,7 +32,7 @@
|
|||||||
#include "compositor.h"
|
#include "compositor.h"
|
||||||
#include "filter.h"
|
#include "filter.h"
|
||||||
|
|
||||||
void
|
WL_EXPORT void
|
||||||
weston_filter_dispatch(struct weston_motion_filter *filter,
|
weston_filter_dispatch(struct weston_motion_filter *filter,
|
||||||
struct weston_motion_params *motion,
|
struct weston_motion_params *motion,
|
||||||
void *data, uint32_t time)
|
void *data, uint32_t time)
|
||||||
@@ -313,7 +313,7 @@ struct weston_motion_filter_interface accelerator_interface = {
|
|||||||
accelerator_destroy
|
accelerator_destroy
|
||||||
};
|
};
|
||||||
|
|
||||||
struct weston_motion_filter *
|
WL_EXPORT struct weston_motion_filter *
|
||||||
create_pointer_accelator_filter(accel_profile_func_t profile)
|
create_pointer_accelator_filter(accel_profile_func_t profile)
|
||||||
{
|
{
|
||||||
struct pointer_accelerator *filter;
|
struct pointer_accelerator *filter;
|
||||||
|
|||||||
+2
-2
@@ -35,7 +35,7 @@ struct weston_motion_params {
|
|||||||
|
|
||||||
struct weston_motion_filter;
|
struct weston_motion_filter;
|
||||||
|
|
||||||
WL_EXPORT void
|
void
|
||||||
weston_filter_dispatch(struct weston_motion_filter *filter,
|
weston_filter_dispatch(struct weston_motion_filter *filter,
|
||||||
struct weston_motion_params *motion,
|
struct weston_motion_params *motion,
|
||||||
void *data, uint32_t time);
|
void *data, uint32_t time);
|
||||||
@@ -57,7 +57,7 @@ typedef double (*accel_profile_func_t)(struct weston_motion_filter *filter,
|
|||||||
double velocity,
|
double velocity,
|
||||||
uint32_t time);
|
uint32_t time);
|
||||||
|
|
||||||
WL_EXPORT struct weston_motion_filter *
|
struct weston_motion_filter *
|
||||||
create_pointer_accelator_filter(accel_profile_func_t filter);
|
create_pointer_accelator_filter(accel_profile_func_t filter);
|
||||||
|
|
||||||
#endif // _FILTER_H_
|
#endif // _FILTER_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user