Browse Source

__nonnull changes

tags/v0.9.3
Holger Lubitz 17 years ago
parent
commit
d2dd4b9e31
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/include/gpxe/editbox.h

+ 4
- 2
src/include/gpxe/editbox.h View File

28
 
28
 
29
 extern void init_editbox ( struct edit_box *box, char *buf, size_t len,
29
 extern void init_editbox ( struct edit_box *box, char *buf, size_t len,
30
 			   WINDOW *win, unsigned int row, unsigned int col,
30
 			   WINDOW *win, unsigned int row, unsigned int col,
31
-			   unsigned int width );
32
-extern void draw_editbox ( struct edit_box *box );
31
+			   unsigned int width ) 
32
+			   __attribute__ (( nonnull (1, 2) ));
33
+extern void draw_editbox ( struct edit_box *box ) __nonnull;
34
+static inline int __pure edit_editbox ( struct edit_box *box, int key ) __nonnull;
33
 
35
 
34
 /**
36
 /**
35
  * Edit text box widget
37
  * Edit text box widget

Loading…
Cancel
Save