chiark / gitweb /
path_id: make global variable static
[elogind.git] / extras / path_id / path_id.c
index 4b57dec0d31caf3ba7b4f560e5fc2eca582137f8..53720e0fe2c947d42e838ab1378d3e983bca7dbd 100644 (file)
@@ -3,6 +3,8 @@
  *
  * Copyright (C) 2009 Kay Sievers <kay.sievers@vrfy.org>
  *
  *
  * Copyright (C) 2009 Kay Sievers <kay.sievers@vrfy.org>
  *
+ * Log based on Hannes Reinecke's shell script.
+ *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 2 of the License, or
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 2 of the License, or
@@ -31,7 +33,7 @@
 #include "libudev.h"
 #include "libudev-private.h"
 
 #include "libudev.h"
 #include "libudev-private.h"
 
-int debug;
+static int debug;
 
 static void log_fn(struct udev *udev, int priority,
                   const char *file, int line, const char *fn,
 
 static void log_fn(struct udev *udev, int priority,
                   const char *file, int line, const char *fn,