From: Kay Sievers Date: Wed, 22 Jul 2009 17:09:48 +0000 (+0200) Subject: path_id: make global variable static X-Git-Tag: 174~878 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1b691f831b43ceeef3d780f87e02fb177dd03281;p=elogind.git path_id: make global variable static --- diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c index 4b57dec0d..53720e0fe 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,