aboutsummaryrefslogtreecommitdiff
path: root/nss/makedb.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-04 17:51:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-04 17:51:12 +0000
commitcbc85992cd683cbadbf2ed2011cad1ee04aa42b5 (patch)
tree9a09d928fbaa199a801ae58cc0063c89bd0af0ef /nss/makedb.c
parent52354636d3ba63e3467c9062f6ddbaf5138f0229 (diff)
downloadglibc-cbc85992cd683cbadbf2ed2011cad1ee04aa42b5.zip
glibc-cbc85992cd683cbadbf2ed2011cad1ee04aa42b5.tar.gz
glibc-cbc85992cd683cbadbf2ed2011cad1ee04aa42b5.tar.bz2
Update.
2000-01-04 Andreas Jaeger <aj@suse.de> * nss/nss_db/dummy-db.h (struct db24): Add missing field flags. (struct db27): Add missing fields byteswapped, join and flags; remove wrong member handleq. (struct dbc27): Correct lock field. * nss/makedb.c: Remove __P. 2000-01-04 Andreas Jaeger <aj@suse.de> * nss/nss_db/db-open.c (internal_setent): Check for db_open for success, fix a memory leak and clean up function. 2000-01-04 Ulrich Drepper <drepper@cygnus.com> * Makefile (install): Pass $(install_root) to ldconfig. Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>. 2000-01-03 Jakub Jelinek <jakub@redhat.com> * soft-fp/op-1.h: Fix division for machines using not normalizing version of udiv_qrnnd in longlong.h. * soft-fp/sysdeps/mips/sfp-machine.h: Likewise. * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise. * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise. Patch by Eddie C. Dost <ecd@skynet.be>. * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h. 2000-01-03 Andreas Schwab <schwab@suse.de> * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs, needed for change in common symbol handing in newer binutils.
Diffstat (limited to 'nss/makedb.c')
-rw-r--r--nss/makedb.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/nss/makedb.c b/nss/makedb.c
index d766258..62bea5c 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -91,10 +91,10 @@ static const char args_doc[] = N_("\
INPUT-FILE OUTPUT-FILE\n-o OUTPUT-FILE INPUT-FILE\n-u INPUT-FILE");
/* Prototype for option handler. */
-static error_t parse_opt __P ((int key, char *arg, struct argp_state *state));
+static error_t parse_opt (int key, char *arg, struct argp_state *state);
/* Function to print some extra text in the help message. */
-static char *more_help __P ((int key, const char *text, void *input));
+static char *more_help (int key, const char *text, void *input);
/* Data structure to communicate with argp functions. */
static struct argp argp =
@@ -104,17 +104,14 @@ static struct argp argp =
/* Prototypes for local functions. */
-static int process_input __P ((FILE *input, const char *inname, NSS_DB *output,
- int to_lowercase, int be_quiet));
-static int print_database __P ((NSS_DB *db));
+static int process_input (FILE *input, const char *inname, NSS_DB *output,
+ int to_lowercase, int be_quiet);
+static int print_database (NSS_DB *db);
static NSS_DB *dbopen (const char *fname, int oper, int mode);
-int main __P ((int argc, char *argv[]));
int
-main (argc, argv)
- int argc;
- char *argv[];
+main (int argc, char *argv[])
{
const char *input_name;
FILE *input_file;