Project

General

Profile

Feature #2437 » 0001-Mark-some-data-as-static.patch

KiBi, 2012-08-15 21:39

View differences:

src/buffer.c
629 629
}
630 630

  
631 631
/* everything except: ! ( ) * - . 0-9 A-Z _ a-z */
632
const char encoded_chars_rel_uri_part[] = {
632
static const char encoded_chars_rel_uri_part[] = {
633 633
	/*
634 634
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
635 635
	*/
......
652 652
};
653 653

  
654 654
/* everything except: ! ( ) * - . / 0-9 A-Z _ a-z */
655
const char encoded_chars_rel_uri[] = {
655
static const char encoded_chars_rel_uri[] = {
656 656
	/*
657 657
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
658 658
	*/
......
674 674
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  /*  F0 -  FF */
675 675
};
676 676

  
677
const char encoded_chars_html[] = {
677
static const char encoded_chars_html[] = {
678 678
	/*
679 679
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
680 680
	*/
......
696 696
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  /*  F0 -  FF */
697 697
};
698 698

  
699
const char encoded_chars_minimal_xml[] = {
699
static const char encoded_chars_minimal_xml[] = {
700 700
	/*
701 701
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
702 702
	*/
......
718 718
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  /*  F0 -  FF */
719 719
};
720 720

  
721
const char encoded_chars_hex[] = {
721
static const char encoded_chars_hex[] = {
722 722
	/*
723 723
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
724 724
	*/
......
740 740
	1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  /*  F0 -  FF */
741 741
};
742 742

  
743
const char encoded_chars_http_header[] = {
743
static const char encoded_chars_http_header[] = {
744 744
	/*
745 745
	0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
746 746
	*/
src/mod_accesslog.c
69 69
 *
70 70
 */
71 71

  
72
const format_mapping fmap[] =
72
static const format_mapping fmap[] =
73 73
{
74 74
	{ '%', FORMAT_PERCENT },
75 75
	{ 'h', FORMAT_REMOTE_HOST },
src/mod_webdav.c
939 939
	char *prop;
940 940
} webdav_property;
941 941

  
942
webdav_property live_properties[] = {
942
static webdav_property live_properties[] = {
943 943
	{ "DAV:", "creationdate" },
944 944
	{ "DAV:", "displayname" },
945 945
	{ "DAV:", "getcontentlanguage" },
(1-1/6)