Build bustage fix from bug 394902

This commit is contained in:
mvl%exedo.nl 2007-12-10 16:24:26 +00:00
Родитель 518de8b3ff
Коммит 325a351fb0
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -31,7 +31,7 @@ if ($opt_i) {
}
# First build the property restriction table
print "static const icalrestriction_property_record icalrestriction_property_records[] = {\n";
print "icalrestriction_property_record icalrestriction_property_records[] = {\n";
while(<F>)
{
@ -62,7 +62,7 @@ print " {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_PROPERTY,ICAL_RESTRICTION
print "};\n";
print "static const icalrestriction_component_record icalrestriction_component_records[] = {\n";
print "icalrestriction_component_record icalrestriction_component_records[] = {\n";
# Go back through the entire file and build the component restriction table

Просмотреть файл

@ -30,7 +30,7 @@ in machine generated code below */
struct icalrestriction_property_record;
typedef char* (*restriction_func)(const struct icalrestriction_property_record* rec,icalcomponent* comp,icalproperty* prop);
typedef char* (*restriction_func)(struct icalrestriction_property_record* rec,icalcomponent* comp,icalproperty* prop);
typedef struct icalrestriction_property_record {
@ -59,8 +59,8 @@ icalrestriction_get_component_restriction(icalproperty_method method,
icalcomponent_kind component,
icalcomponent_kind subcomponent);
static const icalrestriction_component_record icalrestriction_component_records[];
static const icalrestriction_property_record icalrestriction_property_records[];
icalrestriction_component_record icalrestriction_component_records[];
icalrestriction_property_record icalrestriction_property_records[];
icalrestriction_property_record null_prop_record = {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_PROPERTY,ICAL_RESTRICTION_UNKNOWN,0};
icalrestriction_component_record null_comp_record = {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_COMPONENT,ICAL_RESTRICTION_UNKNOWN,0};