From 1b691f831b43ceeef3d780f87e02fb177dd03281 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 22 Jul 2009 19:09:48 +0200 Subject: path_id: make global variable static --- extras/path_id/path_id.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 * + * 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, -- cgit v1.2.3-54-g00ecf