OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy up compile warnings by cleaning up types.
[android-x86/external-libdrm.git]
/
tests
/
drmtest.c
diff --git
a/tests/drmtest.c
b/tests/drmtest.c
index
15e5c4a
..
685a652
100644
(file)
--- a/
tests/drmtest.c
+++ b/
tests/drmtest.c
@@
-25,9
+25,11
@@
*
*/
*
*/
+#include <string.h>
#include <fcntl.h>
#include <fnmatch.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fnmatch.h>
#include <sys/stat.h>
+#include <sys/ioctl.h>
#include "drmtest.h"
#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
#include "drmtest.h"
#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
@@
-60,7
+62,7
@@
int drm_open_matching(const char *pci_glob, int flags)
struct udev_device *device, *parent;
struct udev_list_entry *entry;
const char *pci_id, *path;
struct udev_device *device, *parent;
struct udev_list_entry *entry;
const char *pci_id, *path;
- int
i,
fd;
+ int fd;
udev = udev_new();
if (udev == NULL) {
udev = udev_new();
if (udev == NULL) {