~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to scripts/docproc.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
#define FUNCTION      "-function"
73
73
#define NOFUNCTION    "-nofunction"
74
74
#define NODOCSECTIONS "-no-doc-sections"
 
75
#define SHOWNOTFOUND  "-show-not-found"
75
76
 
76
77
static char *srctree, *kernsrctree;
77
78
 
294
295
        int startofsym = 1;
295
296
        vec[idx++] = KERNELDOC;
296
297
        vec[idx++] = DOCBOOK;
 
298
        vec[idx++] = SHOWNOTFOUND;
297
299
 
298
300
        /* Split line up in individual parameters preceded by FUNCTION */
299
301
        for (i=0; line[i]; i++) {
325
327
 */
326
328
static void docsect(char *filename, char *line)
327
329
{
328
 
        char *vec[6]; /* kerneldoc -docbook -function "section" file NULL */
 
330
        /* kerneldoc -docbook -show-not-found -function "section" file NULL */
 
331
        char *vec[7];
329
332
        char *s;
330
333
 
331
334
        for (s = line; *s; s++)
341
344
 
342
345
        vec[0] = KERNELDOC;
343
346
        vec[1] = DOCBOOK;
344
 
        vec[2] = FUNCTION;
345
 
        vec[3] = line;
346
 
        vec[4] = filename;
347
 
        vec[5] = NULL;
 
347
        vec[2] = SHOWNOTFOUND;
 
348
        vec[3] = FUNCTION;
 
349
        vec[4] = line;
 
350
        vec[5] = filename;
 
351
        vec[6] = NULL;
348
352
        exec_kernel_doc(vec);
349
353
}
350
354