Code

Various plugins: Remove trailing whitespaces.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 23 Nov 2009 21:25:32 +0000 (22:25 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 23 Nov 2009 21:25:32 +0000 (22:25 +0100)
src/disk.c
src/interface.c
src/load.c
src/memory.c
src/processes.c
src/swap.c

index 5df1c9827b465d136e185fa9b15925d142912c10..94257feff7d9cd7d6e65cbed1f173cb2e35f969a 100644 (file)
@@ -148,7 +148,7 @@ static int disk_init (void)
 {
 #if HAVE_IOKIT_IOKITLIB_H
        kern_return_t status;
-       
+
        if (io_master_port != MACH_PORT_NULL)
        {
                mach_port_deallocate (mach_task_self (),
index fead88859c08fd5e429a973a1bd79d9ed7898c12..8557cb100457fd073ac0842ed4b1e7b9e9f53a65 100644 (file)
@@ -222,7 +222,7 @@ static int interface_read (void)
        char buffer[1024];
        unsigned long long incoming, outgoing;
        char *device;
-       
+
        char *dummy;
        char *fields[16];
        int numfields;
@@ -248,7 +248,7 @@ static int interface_read (void)
 
                if (device[0] == '\0')
                        continue;
-               
+
                numfields = strsplit (dummy, fields, 16);
 
                if (numfields < 11)
index cf5221b278a425688845df5e9ff75b30b6e05501..575b4ca44d8698258a636602df47f2ec0da76c67 100644 (file)
@@ -81,7 +81,7 @@ static int load_read (void)
 
        char *fields[8];
        int numfields;
-       
+
        if ((loadavg = fopen ("/proc/loadavg", "r")) == NULL)
        {
                char errbuf[1024];
index 799a80c31684c963172fa89363e9f931c24f4886..e0e0cbb163eebab1441ef91e7ebf3b70496aab02 100644 (file)
@@ -250,7 +250,7 @@ static int memory_read (void)
 #elif KERNEL_LINUX
        FILE *fh;
        char buffer[1024];
-       
+
        char *fields[8];
        int numfields;
 
index 5ef4acc039907743d1f22180f23871ec5f9ce326..35f99a9b1796f7ffc4844cf8d46565121330fd13 100644 (file)
@@ -243,7 +243,7 @@ static void ps_list_register (const char *name, const char *regexp)
                return;
        }
 #endif
-       
+
        for (ptr = list_head_g; ptr != NULL; ptr = ptr->next)
        {
                if (strcmp (ptr->name, name) == 0)
@@ -319,13 +319,13 @@ static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t
                if ((pse == NULL) || (pse->id != entry->id))
                {
                        procstat_entry_t *new;
-                       
+
                        new = (procstat_entry_t *) malloc (sizeof (procstat_entry_t));
                        if (new == NULL)
                                return;
                        memset (new, 0, sizeof (procstat_entry_t));
                        new->id = entry->id;
-                       
+
                        if (pse == NULL)
                                ps->instances = new;
                        else
@@ -377,7 +377,7 @@ static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t
                                pse->vmem_minflt = entry->vmem_minflt_counter - pse->vmem_minflt_counter;
                        }
                        pse->vmem_minflt_counter = entry->vmem_minflt_counter;
-                       
+
                        if (entry->vmem_majflt_counter < pse->vmem_majflt_counter)
                        {
                                pse->vmem_majflt = entry->vmem_majflt_counter
@@ -414,7 +414,7 @@ static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t
                                pse->cpu_user = entry->cpu_user_counter - pse->cpu_user_counter;
                        }
                        pse->cpu_user_counter = entry->cpu_user_counter;
-                       
+
                        if (entry->cpu_system_counter < pse->cpu_system_counter)
                        {
                                pse->cpu_system = entry->cpu_system_counter
index 22eda1f5aaf853e5cfdc911cbcc6e8af62738744..6ccae563f5888a1ee8c1a02a16328e81b1b35986 100644 (file)
@@ -173,7 +173,7 @@ static int swap_read (void)
 #if KERNEL_LINUX
        FILE *fh;
        char buffer[1024];
-       
+
        char *fields[8];
        int numfields;