diff --git a/src/diskio.c b/src/diskio.c index 66cde04b..15dd30b0 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -27,8 +27,8 @@ * $Id$ */ -#include #include "conky.h" +#include static struct diskio_stat diskio_stats_[MAX_DISKIO_STATS]; struct diskio_stat *diskio_stats = diskio_stats_; diff --git a/src/libmpdclient.c b/src/libmpdclient.c index 67bfbb0b..30ab8065 100644 --- a/src/libmpdclient.c +++ b/src/libmpdclient.c @@ -29,6 +29,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "conky.h" #include "libmpdclient.h" #include diff --git a/src/mixer.c b/src/mixer.c index 4c001eea..674e89b0 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -25,14 +25,13 @@ * * $Id$ */ +#include "conky.h" #include - #include #include #include #include -#include "conky.h" #ifdef HAVE_LINUX_SOUNDCARD_H #include diff --git a/src/prss.c b/src/prss.c index 5a57f6b2..ad7cf7fe 100644 --- a/src/prss.c +++ b/src/prss.c @@ -15,13 +15,13 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" +#include "prss.h" #include #include #include #include #include -#include "prss.h" -#include "config.h" #ifndef PARSE_OPTIONS #define PARSE_OPTIONS 0 diff --git a/src/rss.c b/src/rss.c index f1b69fb4..e185669e 100644 --- a/src/rss.c +++ b/src/rss.c @@ -25,15 +25,15 @@ * * $Id$ */ +#include "conky.h" +#include "prss.h" #include #include #include #include -#include "prss.h" #include #include #include -#include "conky.h" #define MAX_FEEDS 16 diff --git a/src/top.h b/src/top.h index ebad73a7..45730437 100644 --- a/src/top.h +++ b/src/top.h @@ -73,12 +73,6 @@ #define PROCFS_CMDLINE_TEMPLATE "/proc/%d/cmdline" #define MAX_SP 10 // number of elements to sort -/****************************************** - * Globals * - ******************************************/ - -extern int cpu_separate; - /****************************************** * Process class * ******************************************/