-
http://lists.gnu.org/archive/html/bug-cssc/2014-09/msg00003.html
http://git.savannah.gnu.org/cgit/cssc.git/commit/?id=9737f41b5d2a49e61061e9f896b5a9ae19e3a3ac
diff --git a/auxfiles/Makefile.am b/auxfiles/Makefile.am
index b08555d..51751a6 100644
a
|
b
|
|
1 | | EXTRA_DIST = check-testfiles.sh |
| 1 | EXTRA_DIST = check-testfiles.sh firstinclude.sed |
2 | 2 | |
3 | 3 | dist-hook: CSSC.spec |
4 | 4 | cp CSSC.spec $(distdir)/CSSC.spec |
-
diff --git a/auxfiles/firstinclude.sed b/auxfiles/firstinclude.sed
new file mode 100644
index 0000000..df1714a
a
|
b
|
|
| 1 | /^ *# *include ["<].*[">]/ { |
| 2 | s/^ *# *include ["<]\(.*\)[">]/\1/ |
| 3 | t YESREALLY |
| 4 | i\ |
| 5 | Internal error - regexes are inconsistent |
| 6 | q |
| 7 | : YESREALLY |
| 8 | #s/^\(config\|cssc\).h$// |
| 9 | s/^config\.h$// |
| 10 | t OK |
| 11 | = |
| 12 | i\ |
| 13 | config.h should be #included first |
| 14 | : OK |
| 15 | # q with an exit code is a GNU extension, don't use it. |
| 16 | q |
| 17 | } |
| 18 | |
| 19 | |
| 20 | No newline at end of file |
-
diff --git a/src/Makefile.am b/src/Makefile.am
index 7a9bd3a..7eb9de3 100644
a
|
b
|
sccs_LDADD = libcssc.a $(LIBOBJS) -lgnulib |
112 | 112 | sccsdiff: sccsdiff.sh |
113 | 113 | sed -e 's:__csscutildir__:$(csscutildir):g' < sccsdiff.sh > $@ && chmod a+x $@ || { rm -f $@; false; } |
114 | 114 | |
| 115 | check-include-order: |
| 116 | rv=0; \ |
| 117 | for f in $(srcdir)/*.cc; \ |
| 118 | do \ |
| 119 | msg="`sed -n -f $(top_srcdir)/auxfiles/firstinclude.sed < $$f`"; \ |
| 120 | if test -n "$${msg}"; \ |
| 121 | then \ |
| 122 | set -- $${msg} ; line=$${1} ; shift; errmsg="$${*}"; \ |
| 123 | echo "$${f}:$${line}:$${errmsg}" >&2; \ |
| 124 | rv=1; \ |
| 125 | fi \ |
| 126 | done; \ |
| 127 | exit $${rv} |
| 128 | |
115 | 129 | testsplit$(EXEEXT): fnsplit.cc mystring.$(OBJEXT) quit.$(OBJEXT) |
116 | 130 | $(CXXCOMPILE) -DTEST_FNSPLIT -o testsplit$(EXEEXT) \ |
117 | 131 | $(srcdir)/fnsplit.cc mystring.$(OBJEXT) quit.$(OBJEXT) |
-
diff --git a/src/admin.cc b/src/admin.cc
index 88e527e..e46ec1c 100644
a
|
b
|
|
23 | 23 | * Administer and create SCCS files. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include <config.h> |
| 27 | |
26 | 28 | #include <errno.h> |
27 | 29 | |
28 | 30 | #include "cssc.h" |
-
diff --git a/src/bodyio.cc b/src/bodyio.cc
index 3d3794d..05a98f6 100644
a
|
b
|
|
23 | 23 | * |
24 | 24 | */ |
25 | 25 | |
| 26 | #include <config.h> |
| 27 | |
| 28 | #include <cstdio> |
| 29 | #include <cstring> |
| 30 | |
| 31 | #include "cssc.h" |
26 | 32 | #include "bodyio.h" |
27 | 33 | #include "quit.h" |
28 | 34 | #include "cssc-assert.h" |
… |
… |
|
32 | 38 | #include "ioerr.h" |
33 | 39 | #include "file.h" |
34 | 40 | |
35 | | #include <cstdio> |
36 | | #include <cstring> |
37 | | |
38 | 41 | /* Check if we have exceeded the maximum line length. |
39 | 42 | */ |
40 | 43 | static bool check_line_len(const char *iname, |
-
diff --git a/src/cap.cc b/src/cap.cc
index 226c463..d6d0810 100644
a
|
b
|
|
23 | 23 | * Utilities for limiting output to the constraints of the file format. |
24 | 24 | */ |
25 | 25 | |
| 26 | #include <config.h> |
| 27 | |
26 | 28 | #include "cssc.h" |
27 | 29 | |
28 | 30 | |
-
diff --git a/src/cdc.cc b/src/cdc.cc
index c258f8c..df8f9c4 100644
a
|
b
|
|
23 | 23 | * |
24 | 24 | */ |
25 | 25 | |
| 26 | #include <config.h> |
| 27 | |
26 | 28 | #include "cssc.h" |
27 | 29 | #include "my-getopt.h" |
28 | 30 | #include "fileiter.h" |
-
diff --git a/src/delta-iterator.cc b/src/delta-iterator.cc
index c6daf0b..808864c 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
| 30 | #include "cssc.h" |
28 | 31 | #include "delta-iterator.h" |
29 | 32 | #include "delta-table.h" |
30 | 33 | #include "cssc-assert.h" |
-
diff --git a/src/delta-table.cc b/src/delta-table.cc
index 196f7fd..b7c758a 100644
a
|
b
|
|
22 | 22 | * |
23 | 23 | */ |
24 | 24 | |
| 25 | #include <config.h> |
| 26 | |
| 27 | #include "cssc.h" |
25 | 28 | #include "delta-table.h" |
26 | 29 | #include "delta-iterator.h" |
27 | 30 | |
-
diff --git a/src/delta.cc b/src/delta.cc
index 48eb367..8dfe3bd 100644
a
|
b
|
|
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
| 27 | |
| 28 | #include <config.h> |
| 29 | |
| 30 | #include "cssc.h" |
27 | 31 | #include "delta.h" |
28 | 32 | #include "cleanup.h" |
29 | 33 | #include "my-getopt.h" |
-
diff --git a/src/dtbl-prepend.cc b/src/dtbl-prepend.cc
index c85e6be..f6ecfc7 100644
a
|
b
|
|
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
| 27 | #include <config.h> |
| 28 | |
| 29 | #include "cssc.h" |
27 | 30 | #include "delta-table.h" |
28 | 31 | |
29 | 32 | |
-
diff --git a/src/encoding.cc b/src/encoding.cc
index f62782c..b37724e 100644
a
|
b
|
|
25 | 25 | * Compile on its own, defining TEST_CODE, to compile a test program. |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
| 30 | #include "cssc.h" |
28 | 31 | #include "bodyio.h" |
29 | 32 | #include "cssc-assert.h" |
30 | 33 | |
-
diff --git a/src/environment.cc b/src/environment.cc
index 425766a..6f0c5d3 100644
a
|
b
|
|
22 | 22 | * sections "Environment" and "Interoperability" in the CSSC manual. |
23 | 23 | * |
24 | 24 | */ |
| 25 | #include "config.h" |
| 26 | |
| 27 | #include <cerrno> |
| 28 | #include <cstdio> |
25 | 29 | #include <cstdlib> |
26 | 30 | #include <cstring> |
27 | | #include <cstdio> |
28 | | #include <cerrno> |
29 | | |
30 | | #include "cssc.h" |
31 | | |
32 | 31 | #include <limits.h> |
33 | 32 | |
| 33 | #include "cssc.h" |
34 | 34 | |
35 | 35 | bool binary_file_creation_allowed (void) |
36 | 36 | { |
-
diff --git a/src/fatalsig.cc b/src/fatalsig.cc
index 04835b1..b0333f1 100644
a
|
b
|
|
22 | 22 | * Handle fatal signals... |
23 | 23 | * |
24 | 24 | */ |
| 25 | #include "config.h" |
| 26 | |
25 | 27 | #include <cstdlib> |
| 28 | #include <signal.h> /* TODO: consider using sigaction(). */ |
26 | 29 | |
| 30 | #include "cssc-assert.h" |
27 | 31 | #include "cssc.h" |
28 | | #include "version.h" |
29 | 32 | #include "quit.h" |
30 | | |
31 | | #include <signal.h> /* TODO: consider using sigaction(). */ |
32 | | #include "cssc-assert.h" |
| 33 | #include "version.h" |
33 | 34 | |
34 | 35 | |
35 | 36 | /* The expansion of RETSIGTYPE is automatically decided by the configure |
-
diff --git a/src/fdclosed.cc b/src/fdclosed.cc
index f653d01..85687d5 100644
a
|
b
|
|
31 | 31 | * the file pointer on our file too). |
32 | 32 | */ |
33 | 33 | |
34 | | #include "cssc.h" |
35 | | #include "sysdep.h" |
36 | | #include "defaults.h" // CONFIG_NULL_FILENAME |
| 34 | #include <config.h> |
37 | 35 | |
38 | 36 | #include <unistd.h> |
39 | 37 | #include <stdio.h> /* perror() */ |
40 | 38 | |
| 39 | #include "cssc.h" |
| 40 | #include "sysdep.h" |
| 41 | #include "defaults.h" // CONFIG_NULL_FILENAME |
41 | 42 | |
42 | 43 | class SafeFdCheck |
43 | 44 | { |
-
diff --git a/src/file.cc b/src/file.cc
index c2c4512..8821de0 100644
a
|
b
|
|
23 | 23 | * System dependent routines for accessing files. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include "config.h" |
| 27 | |
26 | 28 | #include <errno.h> |
| 29 | #include <sys/types.h> |
| 30 | #include <sys/stat.h> |
| 31 | #include <unistd.h> |
| 32 | #include <stdio.h> |
| 33 | #include <stdlib.h> |
27 | 34 | |
28 | | #include "cssc.h" |
| 35 | #include "cssc.h" /* for CONFIG_CAN_HARD_LINK_AN_OPEN_FILE */ |
29 | 36 | #include "cssc-assert.h" |
30 | 37 | #include "sysdep.h" |
31 | 38 | #include "file.h" |
32 | 39 | #include "quit.h" |
33 | 40 | #include "ioerr.h" |
34 | 41 | #include "defaults.h" |
35 | | |
36 | | #include <unistd.h> |
37 | | #include <sys/stat.h> |
38 | | #include <stdio.h> |
39 | 42 | #include "dirent-safer.h" |
40 | 43 | |
41 | 44 | /* Redirects stdout to a "null" file (eg. /dev/null). */ |
… |
… |
|
152 | 155 | |
153 | 156 | |
154 | 157 | |
| 158 | static int unprivileged = 0; |
| 159 | |
155 | 160 | #ifdef CONFIG_UIDS |
156 | 161 | |
157 | 162 | /* A flag to indicate whether or not the programme is an privileged |
158 | 163 | (effective UID != real UID) or unprivileged (effective UID == real |
159 | 164 | UID). */ |
160 | 165 | |
161 | | static int unprivileged = 0; |
162 | | |
163 | 166 | #ifdef SAVED_IDS_OK |
164 | 167 | |
165 | 168 | static uid_t old_euid; |
-
diff --git a/src/file.h b/src/file.h
index 34292fc..293d2f4 100644
a
|
b
|
|
33 | 33 | #include <sys/types.h> |
34 | 34 | |
35 | 35 | #include "filelock.h" |
| 36 | #include "mystring.h" |
36 | 37 | |
37 | 38 | enum create_mode { |
38 | 39 | CREATE_EXCLUSIVE = 001, |
-
diff --git a/src/filelock.h b/src/filelock.h
index bbd37df..3119a35 100644
a
|
b
|
|
28 | 28 | #define CSSC__FILELOCK_H__ |
29 | 29 | |
30 | 30 | #include "cleanup.h" |
| 31 | #include "mystring.h" |
31 | 32 | |
32 | 33 | class file_lock : private cleanup { |
33 | 34 | int locked; |
-
diff --git a/src/fnsplit.cc b/src/fnsplit.cc
index deed952..26da763 100644
a
|
b
|
|
20 | 20 | * Functions for canonifying filenames. |
21 | 21 | */ |
22 | 22 | |
| 23 | #include <config.h> |
| 24 | |
23 | 25 | #include "cssc.h" |
24 | 26 | #include "mystring.h" |
25 | 27 | #include "file.h" // declaration of split_filename. |
-
diff --git a/src/get.cc b/src/get.cc
index dffafba..de644f1 100644
a
|
b
|
|
23 | 23 | * Extract a requested delta from a SCCS file. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include "config.h" |
| 27 | |
26 | 28 | #include <errno.h> |
27 | 29 | |
28 | 30 | #include "cssc.h" |
-
diff --git a/src/l-split.cc b/src/l-split.cc
index 00712de..1aa2dc4 100644
a
|
b
|
|
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
| 27 | #include <config.h> |
| 28 | |
27 | 29 | #include "cssc.h" |
28 | 30 | #include "mylist.h" |
29 | 31 | #include "sccsfile.h" // declares these functions. |
-
diff --git a/src/linebuf.cc b/src/linebuf.cc
index 822d97d..af6f04b 100644
a
|
b
|
|
23 | 23 | * Members of the class cssc_linebuf. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include "config.h" |
| 27 | |
26 | 28 | #include <cstdio> |
27 | 29 | #include <cstring> |
28 | 30 | #include <climits> |
-
diff --git a/src/pf-add.cc b/src/pf-add.cc
index fa441b3..293ff03 100644
a
|
b
|
|
23 | 23 | * |
24 | 24 | */ |
25 | 25 | |
| 26 | #include <config.h> |
| 27 | |
26 | 28 | #include "cssc.h" |
27 | 29 | #include "pfile.h" |
28 | 30 | #include "except.h" |
-
diff --git a/src/pf-del.cc b/src/pf-del.cc
index 8d13da8..9e9c078 100644
a
|
b
|
|
24 | 24 | * a p-file. |
25 | 25 | * |
26 | 26 | */ |
| 27 | #include "config.h" |
| 28 | |
27 | 29 | #include <utility> |
28 | 30 | |
29 | 31 | #include "cssc.h" |
-
diff --git a/src/pfile.cc b/src/pfile.cc
index 7bb5989..8c10d70 100644
a
|
b
|
|
23 | 23 | * Common members of the class sccs_pfile. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include "config.h" |
| 27 | |
26 | 28 | #include <errno.h> |
27 | 29 | |
28 | 30 | #include "cssc.h" |
-
diff --git a/src/prompt.cc b/src/prompt.cc
index 69eb744..92fcce6 100644
a
|
b
|
|
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
| 27 | #include "config.h" |
| 28 | |
27 | 29 | #include <cstdio> |
28 | 30 | #include <cstring> |
29 | 31 | #include <cstdio> |
-
diff --git a/src/prs.cc b/src/prs.cc
index b4c4bdb..5f1edbb 100644
a
|
b
|
|
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
| 27 | #include <config.h> |
27 | 28 | #include "cssc.h" |
28 | 29 | #include "fileiter.h" |
29 | 30 | #include "sccsfile.h" |
-
diff --git a/src/prt.cc b/src/prt.cc
index 9ed915d..3856734 100644
a
|
b
|
|
26 | 26 | */ |
27 | 27 | |
28 | 28 | |
| 29 | #include <config.h> |
29 | 30 | #include "cssc.h" |
30 | 31 | #include "fileiter.h" |
31 | 32 | #include "sccsfile.h" |
-
diff --git a/src/quit.cc b/src/quit.cc
index ac64c1c..0f602a9 100644
a
|
b
|
|
23 | 23 | * Functions for cleaning up and quitting. |
24 | 24 | * |
25 | 25 | */ |
| 26 | #include "config.h" |
| 27 | |
26 | 28 | #include <cstdio> |
27 | 29 | #include <cstring> |
28 | 30 | #include <cerrno> |
-
diff --git a/src/rel_list.cc b/src/rel_list.cc
index a9f837b..d367668 100644
a
|
b
|
|
20 | 20 | * placed in the Public Domain. |
21 | 21 | * |
22 | 22 | */ |
| 23 | #include "config.h" |
23 | 24 | #include <cstdlib> |
24 | 25 | |
25 | 26 | #include "cssc.h" |
-
diff --git a/src/rl-merge.cc b/src/rl-merge.cc
index ea78e51..e129327 100644
a
|
b
|
|
22 | 22 | * |
23 | 23 | */ |
24 | 24 | |
| 25 | #include <config.h> |
25 | 26 | #include "cssc.h" |
26 | 27 | #include "rel_list.h" |
27 | 28 | |
-
diff --git a/src/rmdel.cc b/src/rmdel.cc
index ecc4e07..c839446 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
28 | 29 | #include "cssc.h" |
29 | 30 | #include "fileiter.h" |
30 | 31 | #include "sccsfile.h" |
-
diff --git a/src/run.cc b/src/run.cc
index d298846..0932687 100644
a
|
b
|
|
24 | 24 | * Routines for running programmes. |
25 | 25 | * |
26 | 26 | */ |
| 27 | #include "config.h" |
| 28 | |
27 | 29 | #include <cstdio> |
28 | 30 | #include <errno.h> |
29 | 31 | |
-
diff --git a/src/sact.cc b/src/sact.cc
index 9ba7cbf..90ebe08 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
28 | 29 | #include "cssc.h" |
29 | 30 | #include "fileiter.h" |
30 | 31 | #include "pfile.h" |
-
diff --git a/src/sccs-delta.cc b/src/sccs-delta.cc
index c4d6222..098ee1d 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
28 | 29 | #include "cssc.h" |
29 | 30 | #include "sccsfile.h" |
30 | 31 | #include "delta.h" |
-
diff --git a/src/sccsdate.cc b/src/sccsdate.cc
index 9b79b89..433a2fe 100644
a
|
b
|
|
24 | 24 | * Members of the class sccs_date. |
25 | 25 | * |
26 | 26 | */ |
| 27 | #include <config.h> |
27 | 28 | #include <cstring> |
28 | 29 | |
29 | 30 | #include "cssc.h" |
-
diff --git a/src/sccsfile.cc b/src/sccsfile.cc
index d698509..6cb211d 100644
a
|
b
|
|
25 | 25 | * the members in this file are used to read from the SCCS file. |
26 | 26 | * |
27 | 27 | */ |
| 28 | #include <config.h> |
28 | 29 | #include <errno.h> |
29 | 30 | |
30 | 31 | #include "cssc.h" |
-
diff --git a/src/sccsname.cc b/src/sccsname.cc
index ef61b41..81edc54 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
28 | 29 | #include "cssc.h" |
29 | 30 | #include "sccsname.h" |
30 | 31 | #include "cssc-assert.h" |
-
diff --git a/src/seqstate.cc b/src/seqstate.cc
index 61ae27a..ccdafb0 100644
a
|
b
|
|
21 | 21 | * |
22 | 22 | */ |
23 | 23 | |
| 24 | #include <config.h> |
24 | 25 | #include "cssc.h" |
25 | 26 | #include "seqstate.h" |
26 | 27 | |
-
diff --git a/src/sf-add.cc b/src/sf-add.cc
index cbda552..113d484 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
29 | 30 | #include "cssc.h" |
30 | 31 | #include "sccsfile.h" |
31 | 32 | #include "delta.h" |
-
diff --git a/src/sf-admin.cc b/src/sf-admin.cc
index de64a68..1bc94cd 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
29 | 30 | #include "cssc.h" |
30 | 31 | #include "sccsfile.h" |
31 | 32 | #include "sl-merge.h" |
-
diff --git a/src/sf-cdc.cc b/src/sf-cdc.cc
index 88e2f15..8a3c804 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
29 | 30 | #include "cssc.h" |
30 | 31 | #include "sccsfile.h" |
31 | 32 | #include "delta.h" |
-
diff --git a/src/sf-chkid.cc b/src/sf-chkid.cc
index bd649b1..e6e9f02 100644
a
|
b
|
|
23 | 23 | * |
24 | 24 | */ |
25 | 25 | |
| 26 | #include <config.h> |
| 27 | |
| 28 | #include <string.h> |
| 29 | |
26 | 30 | #include "cssc.h" |
27 | 31 | #include "sccsfile.h" |
28 | 32 | #include "linebuf.h" |
29 | 33 | #include "bodyio.h" |
30 | 34 | |
31 | | #include <string.h> |
32 | | |
33 | 35 | bool |
34 | 36 | is_id_keyword_letter(char ch) |
35 | 37 | { |
-
diff --git a/src/sf-delta.cc b/src/sf-delta.cc
index 286b44f..f2317af 100644
a
|
b
|
|
25 | 25 | * Members of sccs_file for adding a delta to the SCCS file. |
26 | 26 | * |
27 | 27 | */ |
| 28 | #include <config.h> |
| 29 | |
28 | 30 | #include <errno.h> |
| 31 | #include <unistd.h> |
29 | 32 | |
30 | 33 | #include "cssc.h" |
31 | 34 | #include "sccsfile.h" |
… |
… |
|
43 | 46 | |
44 | 47 | #undef JAY_DEBUG |
45 | 48 | |
46 | | #include <unistd.h> |
47 | | |
48 | | |
49 | 49 | |
50 | 50 | class diff_state |
51 | 51 | { |
-
diff --git a/src/sf-get.cc b/src/sf-get.cc
index 2f0c104..6001ba5 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
| 30 | |
29 | 31 | #include "cssc.h" |
30 | 32 | #include "sccsfile.h" |
31 | 33 | #include "pfile.h" |
-
diff --git a/src/sf-get2.cc b/src/sf-get2.cc
index 24831f9..7f970b4 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
| 30 | #include <ctype.h> |
| 31 | |
28 | 32 | #include "cssc.h" |
29 | 33 | #include "sccsfile.h" |
30 | 34 | #include "pfile.h" |
… |
… |
|
33 | 37 | #include "delta-table.h" |
34 | 38 | |
35 | 39 | |
36 | | #include <ctype.h> |
37 | | |
38 | 40 | bool sccs_file::sid_matches(const sid& requested, |
39 | 41 | const sid& found, |
40 | 42 | bool get_top_delta) const |
-
diff --git a/src/sf-get3.cc b/src/sf-get3.cc
index e066675..9c7ef88 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
28 | 30 | #include "cssc.h" |
29 | 31 | #include "sccsfile.h" |
30 | 32 | #include "seqstate.h" |
-
diff --git a/src/sf-kw.cc b/src/sf-kw.cc
index 97e5942..33ad58f 100644
a
|
b
|
|
21 | 21 | * sccs_file::no_id_keywords() |
22 | 22 | */ |
23 | 23 | |
| 24 | #include <config.h> |
| 25 | |
24 | 26 | #include "cssc.h" |
25 | 27 | #include "sccsfile.h" |
26 | 28 | #include "except.h" |
-
diff --git a/src/sf-prs.cc b/src/sf-prs.cc
index 9b451b5..43745f3 100644
a
|
b
|
|
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
| 30 | #include <config.h> |
| 31 | |
30 | 32 | #include "cssc.h" |
31 | 33 | #include "sccsfile.h" |
32 | 34 | #include "seqstate.h" |
-
diff --git a/src/sf-prt.cc b/src/sf-prt.cc
index 41b7b92..1d6c4e7 100644
a
|
b
|
|
24 | 24 | */ |
25 | 25 | |
26 | 26 | |
| 27 | #include <config.h> |
| 28 | |
27 | 29 | #include "cssc.h" |
28 | 30 | #include "sccsfile.h" |
29 | 31 | #include "seqstate.h" |
-
diff --git a/src/sf-rmdel.cc b/src/sf-rmdel.cc
index 9b1992f..a99b4d2 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
| 30 | |
29 | 31 | #include "cssc.h" |
30 | 32 | #include "sccsfile.h" |
31 | 33 | #include "delta.h" |
-
diff --git a/src/sf-val.cc b/src/sf-val.cc
index 2e34efd..5b3474b 100644
a
|
b
|
|
22 | 22 | * Members of class sccs_file used by "val". |
23 | 23 | * |
24 | 24 | */ |
| 25 | #include <config.h> |
| 26 | |
25 | 27 | #include <vector> |
| 28 | |
26 | 29 | #include "cssc.h" |
27 | 30 | #include "sccsfile.h" |
28 | 31 | #include "delta.h" |
-
diff --git a/src/sf-write.cc b/src/sf-write.cc
index 74c2d31..6433f26 100644
a
|
b
|
|
26 | 26 | * |
27 | 27 | */ |
28 | 28 | |
| 29 | #include <config.h> |
| 30 | |
29 | 31 | #include "cssc.h" |
30 | 32 | #include "sccsfile.h" |
31 | 33 | #include "delta.h" |
-
diff --git a/src/sid.cc b/src/sid.cc
index 400cda1..99a31ce 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
| 30 | #include <ctype.h> |
| 31 | |
28 | 32 | #include "cssc.h" |
29 | 33 | #include "sid.h" |
30 | 34 | #include "ioerr.h" |
31 | 35 | |
32 | | #include <ctype.h> |
33 | | |
34 | 36 | mystring sid::as_string() const |
35 | 37 | { |
36 | 38 | char buf[32]; |
-
diff --git a/src/unget.cc b/src/unget.cc
index c6a21d5..38bb012 100644
a
|
b
|
|
25 | 25 | * |
26 | 26 | */ |
27 | 27 | |
| 28 | #include <config.h> |
| 29 | |
28 | 30 | #include "cssc.h" |
29 | 31 | #include "fileiter.h" |
30 | 32 | #include "pfile.h" |
-
diff --git a/src/val.cc b/src/val.cc
index ccf6a2b..87ab911 100644
a
|
b
|
|
21 | 21 | * |
22 | 22 | */ |
23 | 23 | |
| 24 | #include <config.h> |
| 25 | |
24 | 26 | #include "cssc.h" |
25 | 27 | #include "fileiter.h" |
26 | 28 | #include "sccsfile.h" |
-
diff --git a/src/writesubst.cc b/src/writesubst.cc
index c4cdde6..38b512a 100644
a
|
b
|
|
22 | 22 | * |
23 | 23 | */ |
24 | 24 | |
| 25 | #include <config.h> |
| 26 | |
25 | 27 | #include "cssc.h" |
26 | 28 | #include "sccsfile.h" |
27 | 29 | #include "delta.h" |