diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-20 15:05:56 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-20 16:24:02 +0300 |
commit | 3a6373d888021388473bd96c000a8fdab8aedaa5 (patch) | |
tree | acff526d947280ced0912c49af1308031e672158 /src/wydawca.c | |
parent | df8c51d2db6f5d16b97ae2f2b62bd625e5a96833 (diff) | |
download | wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.gz wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.bz2 |
Switch to the Grecs submodule.
* gconf: Remove
* Makefile.am (ACLOCAL_AMFLAGS): Add -I grecs/am.
(SUBDIRS): Replace gconf with grecs
(make-ChangeLog): Remove spurious rule.
* bootstrap.conf: Init submodules.
* configure.ac: Call GRECS_SETUP
(AC_CONFIG_FILES): Add grecs/Makefile, grecs/src/Makefile.
* src/wydawca.h: Include grecs.h
* src/Makefile.am (LDADD,INCLUDES): Refer to grecs.
* tests/Makefile.am: Likewise.
* src/cmdline.opt, src/config.c,
src/diskio.c, src/tcpwrap.c, src/wydawca.c: Use grecs.
* README-hacking: Update
Diffstat (limited to 'src/wydawca.c')
-rw-r--r-- | src/wydawca.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wydawca.c b/src/wydawca.c index d210717..509947b 100644 --- a/src/wydawca.c +++ b/src/wydawca.c @@ -46,7 +46,7 @@ int single_process; time_t wakeup_interval; gl_list_t all_spool_aliases; -struct gconf_sockaddr listen_sockaddr; +struct grecs_sockaddr listen_sockaddr; unsigned wydawca_stat[MAX_STAT]; @@ -215,7 +215,7 @@ logstats () void -gconf_print_diag (gconf_locus_t *locus, int err, int errcode, const char *msg) +grecs_print_diag (grecs_locus_t *locus, int err, int errcode, const char *msg) { if (locus) { @@ -310,9 +310,9 @@ main (int argc, char **argv) collect_uids (argc, argv); if (preprocess_only) - exit (gconf_preproc_run (conffile, gconf_preprocessor) ? EX_CONFIG : 0); + exit (grecs_preproc_run (conffile, grecs_preprocessor) ? EX_CONFIG : 0); - if (gconf_parse (conffile)) + if (grecs_parse (conffile)) exit (EX_CONFIG); if (lint_mode) @@ -330,7 +330,7 @@ main (int argc, char **argv) if (log_to_stderr == -1) log_to_stderr = (!daemon_mode || foreground) && isatty (0); - gconf_log_to_stderr = log_to_stderr; + grecs_log_to_stderr = log_to_stderr; if (!log_to_stderr) { openlog (syslog_tag, LOG_PID, log_facility); |