treesource.c (7eef4091a653c243a87e5375c54504cc03bec4d8) | treesource.c (5ccd991548894f0b699f7d0137c31758a6948ddc) |
---|---|
1/* 2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 * 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. --- 38 unchanged lines hidden (view full) --- 47static void write_prefix(FILE *f, int level) 48{ 49 int i; 50 51 for (i = 0; i < level; i++) 52 fputc('\t', f); 53} 54 | 1/* 2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 * 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. --- 38 unchanged lines hidden (view full) --- 47static void write_prefix(FILE *f, int level) 48{ 49 int i; 50 51 for (i = 0; i < level; i++) 52 fputc('\t', f); 53} 54 |
55int isstring(char c) | 55static int isstring(char c) |
56{ 57 return (isprint(c) 58 || (c == '\0') 59 || strchr("\a\b\t\n\v\f\r", c)); 60} 61 62static void write_propval_string(FILE *f, struct data val) 63{ --- 215 unchanged lines hidden --- | 56{ 57 return (isprint(c) 58 || (c == '\0') 59 || strchr("\a\b\t\n\v\f\r", c)); 60} 61 62static void write_propval_string(FILE *f, struct data val) 63{ --- 215 unchanged lines hidden --- |