summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--argp/argp-parse.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c53481876..ec30782a0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-04  Ulrich Drepper  <drepper@redhat.com>
+
+	* argp/argp-parse.c (argp_default_argp): Set libc as message domain.
+	(argp_version_argp): Likewise.
+
 2000-10-04  Jakub Jelinek  <jakub@redhat.com>
 
 	* stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
diff --git a/argp/argp-parse.c b/argp/argp-parse.c
index e54497cf5e..71b3fb298b 100644
--- a/argp/argp-parse.c
+++ b/argp/argp-parse.c
@@ -142,7 +142,7 @@ argp_default_parser (int key, char *arg, struct argp_state *state)
 }
 
 static const struct argp argp_default_argp =
-  {argp_default_options, &argp_default_parser};
+  {argp_default_options, &argp_default_parser, NULL, NULL, NULL, NULL, "libc"};
 
 
 static const struct argp_option argp_version_options[] =
@@ -174,7 +174,7 @@ argp_version_parser (int key, char *arg, struct argp_state *state)
 }
 
 static const struct argp argp_version_argp =
-  {argp_version_options, &argp_version_parser};
+  {argp_version_options, &argp_version_parser, NULL, NULL, NULL, NULL, "libc"};
 
 /* Returns the offset into the getopt long options array LONG_OPTIONS of a
    long option with called NAME, or -1 if none is found.  Passing NULL as