Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77934
b: refs/heads/master
c: 2e95972
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and Sam Ravnborg committed Jan 28, 2008
1 parent 5580458 commit b0a6bd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b44595a7b8e0ebf3fce108df65d8cd6a6cf4910
refs/heads/master: 2e95972c44ca7b3dd3c5d6ff08745b56ddfa55bc
4 changes: 3 additions & 1 deletion trunk/scripts/basic/docproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ FILELINE * entity_system;
#define DOCBOOK "-docbook"
#define FUNCTION "-function"
#define NOFUNCTION "-nofunction"
#define NODOCSECTIONS "-no-doc-sections"

char *srctree;

Expand Down Expand Up @@ -231,13 +232,14 @@ void docfunctions(char * filename, char * type)

for (i=0; i <= symfilecnt; i++)
symcnt += symfilelist[i].symbolcnt;
vec = malloc((2 + 2 * symcnt + 2) * sizeof(char*));
vec = malloc((2 + 2 * symcnt + 3) * sizeof(char *));
if (vec == NULL) {
perror("docproc: ");
exit(1);
}
vec[idx++] = KERNELDOC;
vec[idx++] = DOCBOOK;
vec[idx++] = NODOCSECTIONS;
for (i=0; i < symfilecnt; i++) {
struct symfile * sym = &symfilelist[i];
for (j=0; j < sym->symbolcnt; j++) {
Expand Down

0 comments on commit b0a6bd0

Please sign in to comment.