+ /* Make sure we get a reproduceable output, in different timezones */
+ tval = TIMESTAMP;
+ tm_ptr = gmtime(&tval);
+ tm_ptr->tm_isdst = 0;
+ tval = mktime(tm_ptr);
+ result = gom_header_update_timestamp(tval);
+
+ /* Also change timestamp of submitter */
+ if (result == 0) {
+ struct submitter* subm = gom_get_first_submitter();
+ if (!subm)
+ result = 100;
+ else {
+ result = gom_update_timestamp(&(subm->change_date), tval);
+ }
+ }
+
+ return result;
+}
+
+int main(int argc, char* argv[])
+{
+ int result;