Adding the function definitions for addLine and addLineTmpl so that they can be used elsewhere in the program, not just after they have been officially defined. This will allow us to addLine anywhere in the program should it need to be done. Signed-off-by: John 'Warthog9' Hawley <warthog9@xxxxxxxxxxxxxx> --- grubby/grubby.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/grubby/grubby.c b/grubby/grubby.c index c941806..1e4ba98 100644 --- a/grubby/grubby.c +++ b/grubby/grubby.c @@ -346,6 +346,14 @@ static enum lineType_e getTypeByKeyword(char * keyword, struct configFileInfo * cfi); static struct singleLine * getLineByType(enum lineType_e type, struct singleLine * line); +struct singleLine * addLineTmpl(struct singleEntry * entry, + struct singleLine * tmplLine, + struct singleLine * prevLine, + const char * val); +struct singleLine * addLine(struct singleEntry * entry, + struct configFileInfo * cfi, + enum lineType_e type, char * defaultIndent, + const char * val); static char * sdupprintf(const char *format, ...) #ifdef __GNUC__
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list