Sfoglia il codice sorgente

__nonnull changes

tags/v0.9.3
Holger Lubitz 17 anni fa
parent
commit
e7114f1215
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 9
    0
      src/hci/editstring.c

+ 9
- 0
src/hci/editstring.c Vedi File

@@ -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…
Annulla
Salva