chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] don't call the hotplug scripts with a test run
[elogind.git]
/
udevtest.c
diff --git
a/udevtest.c
b/udevtest.c
index e67af0df673fb05dd3378afb056f95f79f7dd697..37ec767e138ad189073255fa209065082e213c75 100644
(file)
--- a/
udevtest.c
+++ b/
udevtest.c
@@
-29,14
+29,10
@@
#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
-#include "udev_
lib
.h"
+#include "udev_
utils
.h"
#include "udev_version.h"
#include "udev_version.h"
-#include "logging.h"
#include "namedev.h"
#include "namedev.h"
-
-/* global variables */
-char **main_argv;
-char **main_envp;
+#include "logging.h"
#ifdef LOG
#ifdef LOG
@@
-62,9
+58,6
@@
int main(int argc, char *argv[], char *envp[])
char *subsystem = "";
struct udevice udev;
char *subsystem = "";
struct udevice udev;
- main_argv = argv;
- main_envp = envp;
-
info("version %s", UDEV_VERSION);
if (argv[1] == NULL) {
info("version %s", UDEV_VERSION);
if (argv[1] == NULL) {