~ubuntu-branches/ubuntu/maverick/di/maverick

« back to all changes in this revision

Viewing changes to getopt.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2009-12-06 19:03:54 UTC
  • mfrom: (1.1.10 upstream) (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091206190354-whfqb83521hg9jf8
Tags: 4.18-1
* New upstream release
* iffe has been replaced with new build environment, no need to make
  our own dfsg free tarball anymore, remove debian/README.debian-source
* raise compat level to 5
* Bump standards version
* add ${misc:Depends} to debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
$Id: getopt.c,v 1.8 2008-05-25 20:33:01-07 bll Exp $
3
 
$Source: /export/home/bll/DI/RCS/getopt.c,v $
 
2
$Id: getopt.c,v 1.10 2009-11-23 11:23:48-08 bll Exp $
 
3
$Source: /home/bll/DI/RCS/getopt.c,v $
4
4
*/
5
5
 
6
6
#include "config.h"
9
9
 
10
10
/*
11
11
 *
12
 
 * $Id: getopt.c,v 1.8 2008-05-25 20:33:01-07 bll Exp $
 
12
 * $Id: getopt.c,v 1.10 2009-11-23 11:23:48-08 bll Exp $
13
13
 *
14
14
 * getopt - get option letter from argv
15
15
 *
18
18
 */
19
19
 
20
20
#include <stdio.h>
 
21
#if _hdr_stdlib
 
22
# include <stdlib.h>
 
23
#endif
21
24
#if _hdr_string
22
25
# include <string.h>
23
26
#endif
103
106
 
104
107
#else
105
108
 
106
 
extern int di_lib_debug;
 
109
extern int debug;
107
110
 
108
111
#endif