From: Vinson Lee <vlee@freedesktop.org>
To: trinity@vger.kernel.org
Subject: [PATCH] fds/drm.c: Add forward declaration of struct.
Date: Thu, 26 May 2016 00:05:24 +0000 [thread overview]
Message-ID: <1464221124-14378-1-git-send-email-vlee@freedesktop.org> (raw)
Fix build error.
CC fds/drm.o
fds/drm.c: In function ‘open_drm_fds’:
fds/drm.c:120:3: error: ‘drm_fd_provider’ undeclared (first use in this function)
drm_fd_provider.enabled = FALSE;
^
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
---
fds/drm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fds/drm.c b/fds/drm.c
index d33b00e4be51..54cc0faa8d1a 100644
--- a/fds/drm.c
+++ b/fds/drm.c
@@ -71,6 +71,8 @@ static void add_drm_obj(int fd)
output(2, "fd[%d] = drm\n", fd);
}
+static struct fd_provider drm_fd_provider;
+
static int open_drm_fds(void)
{
struct objhead *head;
--
2.7.4
reply other threads:[~2016-05-26 0:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464221124-14378-1-git-send-email-vlee@freedesktop.org \
--to=vlee@freedesktop.org \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).