From 9f768354b9cc9cd51ac4243be200e96cac53daeb Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 12 May 2008 12:42:43 +0200 Subject: [PATCH] 1008: Moved the definition of the big_files_offset to the form.c. --- src/protocol/uri.h | 7 ------- src/viewer/text/form.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/protocol/uri.h b/src/protocol/uri.h index b56de4080..f9dce9a3e 100644 --- a/src/protocol/uri.h +++ b/src/protocol/uri.h @@ -193,13 +193,6 @@ struct uri_list { struct uri **uris; }; -/* I don't know where to put it. */ -struct big_files_offset { - LIST_HEAD(struct big_files_offset); - int begin; - int end; -}; - #define foreach_uri(uri, index, list) \ for (index = 0; index < (list)->size; index++) \ if ((uri = (list)->uris[index])) diff --git a/src/viewer/text/form.c b/src/viewer/text/form.c index 1134e9809..7b4a648fe 100644 --- a/src/viewer/text/form.c +++ b/src/viewer/text/form.c @@ -58,6 +58,13 @@ /* TODO: Some of these (particulary those encoding routines) would feel better * in viewer/common/. --pasky */ +struct big_files_offset { + LIST_HEAD(struct big_files_offset); + int begin; + int end; +}; + + /** @relates submitted_value */ struct submitted_value *