Commit 52221d3b379df57b882a0a99293a12e78ef89d9c
Remove the last of the common_includes includes of our header files. Remove includes of ctype.h (although that doesn't work so well).
git-svn-id: svn://svn.debian.org/svn/pinfo/pinfo/branches/cxx@257 ea4b0d59-4df7-0310-a9f9-bf8cbe41ce66
Author: neroden-guest
Author date (UTC): 2005-09-26 06:58
Committer name: neroden-guest
Committer date (UTC): 2005-09-26 06:58
Parent(s): 44ee5ea33580bfcd147fd0a4c68c5e9ffed4ea64
Signing key:
Tree: 3abb2e437f764494a2eda13fc09c0cd9c1076d8d
File src/common_includes.h changed (mode: 100644) (index d9d34ae..8d78a8a) |
56 |
56 |
#include <grp.h> |
#include <grp.h> |
57 |
57 |
#include <ctype.h> |
#include <ctype.h> |
58 |
58 |
|
|
59 |
|
#include "datatypes.h" |
|
60 |
|
#include "filehandling_functions.h" |
|
61 |
|
#include "mainfunction.h" |
|
62 |
|
|
|
63 |
59 |
/* I hear voices, that it is needed by RH5.2 ;) */ |
/* I hear voices, that it is needed by RH5.2 ;) */ |
64 |
60 |
#define _REGEX_RE_COMP |
#define _REGEX_RE_COMP |
65 |
61 |
|
|
File src/filehandling_functions.cxx changed (mode: 100644) (index ba8d4bd..6af04b1) |
... |
... |
using std::vector; |
30 |
30 |
|
|
31 |
31 |
#include "colors.h" |
#include "colors.h" |
32 |
32 |
#include "curse_utils.h" |
#include "curse_utils.h" |
|
33 |
|
#include "filehandling_functions.h" |
33 |
34 |
#include "tmpfiles.h" |
#include "tmpfiles.h" |
34 |
35 |
#include "utils.h" |
#include "utils.h" |
35 |
36 |
|
|
File src/filehandling_functions.h changed (mode: 100644) (index 9a3888e..8e2e70b) |
23 |
23 |
#ifndef __FILEHANDLING_FUNCTIONS_H |
#ifndef __FILEHANDLING_FUNCTIONS_H |
24 |
24 |
#define __FILEHANDLING_FUNCTIONS_H |
#define __FILEHANDLING_FUNCTIONS_H |
25 |
25 |
|
|
|
26 |
|
#include <string> |
|
27 |
|
|
26 |
28 |
#include <dirent.h> |
#include <dirent.h> |
27 |
|
#include <sys/types.h> |
|
28 |
29 |
#include <sys/stat.h> |
#include <sys/stat.h> |
29 |
|
#include <unistd.h> |
|
30 |
|
#include <errno.h> |
|
31 |
|
|
|
32 |
|
#include <string> |
|
33 |
30 |
|
|
34 |
31 |
#define INFO_TAG (char)0x1f |
#define INFO_TAG (char)0x1f |
35 |
32 |
#define INDIRECT_TAG (char)0x7f |
#define INDIRECT_TAG (char)0x7f |
File src/mainfunction.cxx changed (mode: 100644) (index 8397f13..5d8ed37) |
... |
... |
using std::string; |
27 |
27 |
using std::vector; |
using std::vector; |
28 |
28 |
#include <exception> // For 'throw' |
#include <exception> // For 'throw' |
29 |
29 |
#include <stdexcept> // For std::invalid_argument |
#include <stdexcept> // For std::invalid_argument |
30 |
|
|
|
31 |
|
#include <ctype.h> |
|
|
30 |
|
#include <cctype> // For isdigit |
32 |
31 |
|
|
33 |
32 |
#include "colors.h" |
#include "colors.h" |
34 |
33 |
#include "curse_utils.h" |
#include "curse_utils.h" |
|
34 |
|
#include "filehandling_functions.h" |
35 |
35 |
#include "initializelinks.h" |
#include "initializelinks.h" |
36 |
36 |
#include "keyboard.h" |
#include "keyboard.h" |
|
37 |
|
#include "mainfunction.h" |
37 |
38 |
#include "printinfo.h" |
#include "printinfo.h" |
38 |
39 |
#include "regexp_search.h" |
#include "regexp_search.h" |
39 |
40 |
#include "utils.h" |
#include "utils.h" |
File src/manual.cxx changed (mode: 100644) (index b480843..7de1868) |
... |
... |
using std::string; |
26 |
26 |
#include <vector> |
#include <vector> |
27 |
27 |
using std::vector; |
using std::vector; |
28 |
28 |
#include <algorithm> // for std::sort and std::find |
#include <algorithm> // for std::sort and std::find |
|
29 |
|
#include <cctype> |
29 |
30 |
|
|
30 |
|
#include <ctype.h> |
|
31 |
31 |
#include <sys/stat.h> |
#include <sys/stat.h> |
32 |
32 |
|
|
33 |
33 |
#include "colors.h" |
#include "colors.h" |
File src/parse_config.cxx changed (mode: 100644) (index 4e1a181..8fdcccb) |
25 |
25 |
using std::string; |
using std::string; |
26 |
26 |
#include <vector> |
#include <vector> |
27 |
27 |
using std::vector; |
using std::vector; |
28 |
|
|
|
29 |
|
#include <ctype.h> |
|
|
28 |
|
#include <cctype> |
30 |
29 |
|
|
31 |
30 |
#include "colors.h" |
#include "colors.h" |
32 |
31 |
#include "datatypes.h" |
#include "datatypes.h" |
File src/pinfo.cxx changed (mode: 100644) (index 996b166..663e663) |
... |
... |
using std::vector; |
31 |
31 |
#include <getopt.h> |
#include <getopt.h> |
32 |
32 |
#endif |
#endif |
33 |
33 |
|
|
|
34 |
|
#include <pwd.h> |
|
35 |
|
#include <grp.h> |
|
36 |
|
|
34 |
37 |
#include "colors.h" |
#include "colors.h" |
35 |
38 |
#include "curse_utils.h" |
#include "curse_utils.h" |
|
39 |
|
#include "filehandling_functions.h" |
|
40 |
|
#include "mainfunction.h" |
36 |
41 |
#include "manual.h" |
#include "manual.h" |
37 |
42 |
#include "parse_config.h" |
#include "parse_config.h" |
38 |
43 |
#include "regexp_search.h" |
#include "regexp_search.h" |
File src/printinfo.cxx changed (mode: 100644) (index 6bc85f3..b1683c0) |
... |
... |
using std::string; |
26 |
26 |
#include <vector> |
#include <vector> |
27 |
27 |
using std::vector; |
using std::vector; |
28 |
28 |
|
|
|
29 |
|
#include "datatypes.h" |
|
30 |
|
|
29 |
31 |
/* |
/* |
30 |
32 |
* Algorithm: We first print highlights, then we send `\r' to the printer, |
* Algorithm: We first print highlights, then we send `\r' to the printer, |
31 |
33 |
* and we draw the base line. Thus highlights are printed `twice', and |
* and we draw the base line. Thus highlights are printed `twice', and |
File src/regexp_search.cxx changed (mode: 100644) (index 3e29a2e..5ac560f) |
25 |
25 |
using std::vector; |
using std::vector; |
26 |
26 |
|
|
27 |
27 |
#ifndef ___DONT_USE_REGEXP_SEARCH___ |
#ifndef ___DONT_USE_REGEXP_SEARCH___ |
|
28 |
|
#include <cctype> |
28 |
29 |
|
|
29 |
30 |
#include <regex.h> |
#include <regex.h> |
30 |
|
#include <ctype.h> |
|
31 |
31 |
|
|
32 |
32 |
vector<regex_t> h_regexp; /* configured regexps to highlight */ |
vector<regex_t> h_regexp; /* configured regexps to highlight */ |
33 |
33 |
regex_t current_regex; /* Selected interactively */ |
regex_t current_regex; /* Selected interactively */ |
File src/signal_handler.cxx changed (mode: 100644) (index 26b95f2..e27b068) |
20 |
20 |
***************************************************************************/ |
***************************************************************************/ |
21 |
21 |
#include "common_includes.h" |
#include "common_includes.h" |
22 |
22 |
|
|
|
23 |
|
#include <signal.h> |
|
24 |
|
|
23 |
25 |
#ifndef HAVE_SIGBLOCK |
#ifndef HAVE_SIGBLOCK |
24 |
26 |
#include "sigblock.h" |
#include "sigblock.h" |
25 |
27 |
#endif |
#endif |
26 |
28 |
|
|
27 |
|
#include <termios.h> |
|
28 |
|
#include <sys/ioctl.h> |
|
29 |
|
|
|
30 |
29 |
#include "curse_utils.h" |
#include "curse_utils.h" |
|
30 |
|
#include "datatypes.h" |
31 |
31 |
#include "keyboard.h" |
#include "keyboard.h" |
32 |
32 |
|
|
33 |
33 |
void |
void |
File src/video.cxx changed (mode: 100644) (index 2a883e3..8c3cdee) |
... |
... |
using std::vector; |
29 |
29 |
|
|
30 |
30 |
#include "colors.h" |
#include "colors.h" |
31 |
31 |
#include "curse_utils.h" |
#include "curse_utils.h" |
|
32 |
|
#include "datatypes.h" |
32 |
33 |
#include "initializelinks.h" // for bletchulous calculate_len |
#include "initializelinks.h" // for bletchulous calculate_len |
33 |
34 |
#include "regexp_search.h" |
#include "regexp_search.h" |
34 |
35 |
|
|