1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-21 15:01:41 +02:00

* argparse.c (default_strusage): Copyright 2007.

* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().
This commit is contained in:
David Shaw 2007-04-15 16:37:01 +00:00
parent c472952fe5
commit 0b677ba499
5 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2007-04-15 David Shaw <dshaw@jabberwocky.com>
* argparse.c (default_strusage): Copyright 2007.
* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().
2007-02-26 Werner Koch <wk@g10code.com> 2007-02-26 Werner Koch <wk@g10code.com>
* simple-gettext.c (set_gettext_file): Make use of the envvar * simple-gettext.c (set_gettext_file): Make use of the envvar

View File

@ -1,6 +1,6 @@
/* [argparse.c wk 17.06.97] Argument Parser for option handling /* [argparse.c wk 17.06.97] Argument Parser for option handling
* Copyright (C) 1998, 1999, 2000, 2001, 2003, * Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
* 2004 Free Software Foundation, Inc. * 2007 Free Software Foundation, Inc.
* *
* This file is part of GnuPG. * This file is part of GnuPG.
* *
@ -914,7 +914,7 @@ default_strusage( int level )
switch( level ) { switch( level ) {
case 11: p = "foo"; break; case 11: p = "foo"; break;
case 13: p = "0.0"; break; case 13: p = "0.0"; break;
case 14: p = "Copyright (C) 2006 Free Software Foundation, Inc."; break; case 14: p = "Copyright (C) 2007 Free Software Foundation, Inc."; break;
case 15: p = case 15: p =
"This program comes with ABSOLUTELY NO WARRANTY.\n" "This program comes with ABSOLUTELY NO WARRANTY.\n"
"This is free software, and you are welcome to redistribute it\n" "This is free software, and you are welcome to redistribute it\n"

View File

@ -1,5 +1,5 @@
/* cert.c - DNS CERT code /* cert.c - DNS CERT code
* Copyright (C) 2005, 2006 Free Software Foundation, Inc. * Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
* *
* This file is part of GNUPG. * This file is part of GNUPG.
* *
@ -27,6 +27,7 @@
#else #else
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/nameser.h> #include <arpa/nameser.h>
#include <arpa/inet.h>
#include <resolv.h> #include <resolv.h>
#endif #endif
#include <string.h> #include <string.h>

View File

@ -1,5 +1,5 @@
/* pka.c - DNS Public Key Association RR access /* pka.c - DNS Public Key Association RR access
* Copyright (C) 2005 Free Software Foundation, Inc. * Copyright (C) 2005, 2007 Free Software Foundation, Inc.
* *
* This file is part of GnuPG. * This file is part of GnuPG.
* *
@ -32,6 +32,7 @@
#else #else
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/nameser.h> #include <arpa/nameser.h>
#include <arpa/inet.h>
#include <resolv.h> #include <resolv.h>
#endif #endif
#endif /* USE_DNS_PKA */ #endif /* USE_DNS_PKA */

View File

@ -1,5 +1,5 @@
/* srv.c - DNS SRV code /* srv.c - DNS SRV code
* Copyright (C) 2003 Free Software Foundation, Inc. * Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
* *
* This file is part of GNUPG. * This file is part of GNUPG.
* *
@ -26,6 +26,7 @@
#else #else
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/nameser.h> #include <arpa/nameser.h>
#include <arpa/inet.h>
#include <resolv.h> #include <resolv.h>
#endif #endif
#include <unistd.h> #include <unistd.h>