summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-22 19:09:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-22 19:09:48 +0200
commit1b691f831b43ceeef3d780f87e02fb177dd03281 (patch)
tree249ce8dec448732ba55c59ec1d2aa028d9ab3c39
parent9821e7026401553e9ccba124afd9408a83007ba6 (diff)
path_id: make global variable static
-rw-r--r--extras/path_id/path_id.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c
index 4b57dec0d3..53720e0fe2 100644
--- a/extras/path_id/path_id.c
+++ b/extras/path_id/path_id.c
@@ -3,6 +3,8 @@
*
* 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
@@ -31,7 +33,7 @@
#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,