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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b691f831b43ceeef3d780f87e02fb177dd03281;p=systemd path_id: make global variable static --- diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c index 4b57dec0..53720e0f 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,