Reorder: stk response length structure
authorDenis Kenzior <denkenz@gmail.com>
Fri, 12 Mar 2010 13:51:58 +0000 (07:51 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 16 Mar 2010 02:02:06 +0000 (21:02 -0500)
Follow the order of the specification

src/stkutil.h

index 4b2c046..9b3464e 100644 (file)
@@ -257,6 +257,15 @@ struct stk_item {
        char *text;
 };
 
+/*
+ * According to 102.223 Section 8.11, the maximum length should never be set
+ * to 0.
+ */
+struct stk_response_length {
+       unsigned char min;
+       unsigned char max;
+};
+
 /* Defined in TS 102.223 Section 8.12 */
 struct stk_result {
        unsigned char general;
@@ -280,15 +289,6 @@ struct stk_text_attribute {
        unsigned char len;
 };
 
-/*
- * According to 102.223 Section 8.11, the maximum length should never be set
- * to 0.
- */
-struct stk_response_length {
-       unsigned char min;
-       unsigned char max;
-};
-
 struct stk_command_display_text {
        char *text;
        struct stk_icon_identifier icon_id;