]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl-glibc.patch
- more fixes for use getopt() prototype from system header files (based on RH misc...
[packages/cdecl.git] / cdecl-glibc.patch
1 --- cdecl-2.5/cdecl.c.orig      Wed Nov 21 21:29:59 2001
2 +++ cdecl-2.5/cdecl.c   Wed Nov 21 21:32:54 2001
3 @@ -125,7 +125,9 @@
4  
5  #if __STDC__
6    char *ds(char *), *cat(char *, ...), *visible(int);
7 +#ifdef NOGETOPT
8    int getopt(int,char **,char *);
9 +#endif
10    int main(int, char **);
11    int yywrap(void);
12    int dostdin(void);
13 @@ -143,7 +145,9 @@
14    int dotmpfile(int, char**), dofileargs(int, char**);
15  #else
16    char *ds(), *cat(), *visible();
17 +#ifdef NOGETOPT
18    int getopt();
19 +#endif
20    void mbcheck(), dohelp(), usage();
21    void prompt(), doprompt(), noprompt();
22    void unsupp(), notsupported();
This page took 0.976934 seconds and 3 git commands to generate.