projects
/
liboconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes for Mac OS x.
[liboconfig.git]
/
src
/
oconfig.c
diff --git
a/src/oconfig.c
b/src/oconfig.c
index
f8d1849
..
2bb80cc
100644
(file)
--- a/
src/oconfig.c
+++ b/
src/oconfig.c
@@
-24,11
+24,15
@@
#include "oconfig.h"
#include "oconfig.h"
-/* Functions provided by the scanner */
-void yyset_in (FILE *);
+extern FILE *yyin;
oconfig_item_t *ci_root;
oconfig_item_t *ci_root;
+static void yyset_in (FILE *fd)
+{
+ yyin = fd;
+} /* void yyset_in */
+
oconfig_item_t *oconfig_parse_fh (FILE *fh)
{
int status;
oconfig_item_t *oconfig_parse_fh (FILE *fh)
{
int status;