mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
backend/drm: move forward decl up for drmModeModeInfo
This allows doc generators to properly associate the doc comment with the function instead of the typedef.
This commit is contained in:
parent
5bcd537ff4
commit
3f0487d310
1 changed files with 1 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
#include <wlr/types/wlr_output.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
|
||||||
struct wlr_drm_backend;
|
struct wlr_drm_backend;
|
||||||
|
typedef struct _drmModeModeInfo drmModeModeInfo;
|
||||||
|
|
||||||
struct wlr_drm_lease {
|
struct wlr_drm_lease {
|
||||||
int fd;
|
int fd;
|
||||||
|
@ -74,7 +75,6 @@ void wlr_drm_lease_terminate(struct wlr_drm_lease *lease);
|
||||||
/**
|
/**
|
||||||
* Add mode to the list of available modes.
|
* Add mode to the list of available modes.
|
||||||
*/
|
*/
|
||||||
typedef struct _drmModeModeInfo drmModeModeInfo;
|
|
||||||
struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,
|
struct wlr_output_mode *wlr_drm_connector_add_mode(struct wlr_output *output,
|
||||||
const drmModeModeInfo *mode);
|
const drmModeModeInfo *mode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue