瀏覽代碼

__nonnull changes

tags/v0.9.3
Holger Lubitz 17 年之前
父節點
當前提交
e7114f1215
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. 9
    0
      src/hci/editstring.c

+ 9
- 0
src/hci/editstring.c 查看文件

@@ -27,6 +27,15 @@
27 27
  *
28 28
  */
29 29
 
30
+static void insert_delete ( struct edit_string *string, size_t delete_len,
31
+                            const char *insert_text ) 
32
+			    __attribute__ (( nonnull (1) ));
33
+static void insert_character ( struct edit_string *string,
34
+                               unsigned int character ) __nonnull;
35
+static void delete_character ( struct edit_string *string ) __nonnull;
36
+static void backspace ( struct edit_string *string ) __nonnull;
37
+static void kill_eol ( struct edit_string *string ) __nonnull;
38
+
30 39
 /**
31 40
  * Insert and/or delete text within an editable string
32 41
  *

Loading…
取消
儲存