]> granicus.if.org Git - procps-ng/commitdiff
procps-ng : fix multi-line comment warnings
authorGilles Espinasse <g.esp@free.fr>
Tue, 26 Mar 2013 08:41:03 +0000 (09:41 +0100)
committerCraig Small <csmall@enc.com.au>
Tue, 26 Mar 2013 09:51:37 +0000 (20:51 +1100)
slab.c:110:1: warning: multi-line comment
slab.c:115:1: warning: multi-line comment
slab.c:122:1: warning: multi-line comment
slab.c:127:1: warning: multi-line comment

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
proc/slab.c

index 709888d42cebe4533dce2e7c2c56734b44930151..5d78a4bf6eb80d161b0fce27aba887adda803dc2 100644 (file)
@@ -100,35 +100,36 @@ void free_slabinfo(struct slab_info *list)
        }
 }
 
-// parse_slabinfo20 - actual parse routine for slabinfo 2.x (2.6 kernels)
-// Note: difference between 2.0 and 2.1 is in the ": globalstat" part where version 2.1
-// has extra column <nodeallocs>. We don't use ": globalstat" part in both versions.
-//
-// Formats (we don't use "statistics" extensions)
-//
-//  slabinfo - version: 2.1
-//  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
-//  : tunables <batchcount> <limit> <sharedfactor> \
-//  : slabdata <active_slabs> <num_slabs> <sharedavail>
-//
-//  slabinfo - version: 2.1 (statistics)
-//  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
-//  : tunables <batchcount> <limit> <sharedfactor> \
-//  : slabdata <active_slabs> <num_slabs> <sharedavail> \
-//  : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> <nodeallocs> \
-//  : cpustat <allochit> <allocmiss> <freehit> <freemiss>
-//
-//  slabinfo - version: 2.0
-//  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
-//  : tunables <batchcount> <limit> <sharedfactor> \
-//  : slabdata <active_slabs> <num_slabs> <sharedavail>
-//
-//  slabinfo - version: 2.0 (statistics)
-//  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
-//  : tunables <batchcount> <limit> <sharedfactor> \
-//  : slabdata <active_slabs> <num_slabs> <sharedavail> \
-//  : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> \
-//  : cpustat <allochit> <allocmiss> <freehit> <freemiss>
+/* parse_slabinfo20 - actual parse routine for slabinfo 2.x (2.6 kernels)
+ * Note: difference between 2.0 and 2.1 is in the ": globalstat" part where version 2.1
+ * has extra column <nodeallocs>. We don't use ": globalstat" part in both versions.
+ *
+ * Formats (we don't use "statistics" extensions)
+ *
+ *  slabinfo - version: 2.1
+ *  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
+ *  : tunables <batchcount> <limit> <sharedfactor> \
+ *  : slabdata <active_slabs> <num_slabs> <sharedavail>
+ *
+ *  slabinfo - version: 2.1 (statistics)
+ *  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
+ *  : tunables <batchcount> <limit> <sharedfactor> \
+ *  : slabdata <active_slabs> <num_slabs> <sharedavail> \
+ *  : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> <nodeallocs> \
+ *  : cpustat <allochit> <allocmiss> <freehit> <freemiss>
+ *
+ *  slabinfo - version: 2.0
+ *  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
+ *  : tunables <batchcount> <limit> <sharedfactor> \
+ *  : slabdata <active_slabs> <num_slabs> <sharedavail>
+ *
+ *  slabinfo - version: 2.0 (statistics)
+ *  # name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
+ *  : tunables <batchcount> <limit> <sharedfactor> \
+ *  : slabdata <active_slabs> <num_slabs> <sharedavail> \
+ *  : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> \
+ *  : cpustat <allochit> <allocmiss> <freehit> <freemiss>
+ */
 static int parse_slabinfo20(struct slab_info **list, struct slab_stat *stats,
                                FILE *f)
 {