Diff for /include/getopt-compat.h between versions 1.2.2.1.2.1 and 1.17.2.2

version 1.2.2.1.2.1, 1999/01/28 20:24:50 version 1.17.2.2, 2006/01/03 22:16:06
Line 1 Line 1
 /*  /* getopt-compat.h -- getopt(3) compatibility header */
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA  /* $OpenLDAP: pkg/ldap/include/getopt-compat.h,v 1.17.2.1 2005/01/20 18:03:48 kurt Exp $ */
   /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
    *
    * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms are permitted only   * Redistribution and use in source and binary forms, with or without
  * as authorized by the OpenLDAP Public License.  A copy of this   * modification, are permitted only as authorized by the OpenLDAP
  * license is available at http://www.OpenLDAP.org/license.html or   * Public License.
  * in file LICENSE in the top-level directory of the distribution.   *
    * A copy of this license is available in file LICENSE in the
    * top-level directory of the distribution or, alternatively, at
    * <http://www.OpenLDAP.org/license.html>.
  */   */
   
 /*  /*
  * getopt(3) declarations   * getopt(3) declarations
  */   */
Line 17 Line 24
   
 LDAP_BEGIN_DECL  LDAP_BEGIN_DECL
   
 extern char *optarg;  /* change symbols to avoid clashing */
 extern int optind, opterr, optopt;  #define optarg lutil_optarg
   #define optind lutil_optind
 LDAP_F int getopt LDAP_P((int, char * const [], const char *));  #define opterr lutil_opterr
   #define optopt lutil_optopt
   #define getopt lutil_getopt
   
   LDAP_LUTIL_V (char *) optarg;
   LDAP_LUTIL_V (int) optind, opterr, optopt;
   LDAP_LUTIL_F (int) getopt LDAP_P(( int, char * const [], const char *));
   
 LDAP_END_DECL  LDAP_END_DECL
   

Removed from v.1.2.2.1.2.1  
changed lines
  Added in v.1.17.2.2


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org