Changes in uspace/app/edit/sheet.c [69cf3a4:8f6bffdd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/sheet.c
r69cf3a4 r8f6bffdd 57 57 58 58 #include "sheet.h" 59 #include "sheet_impl.h"60 59 61 60 enum { … … 67 66 68 67 /** Initialize an empty sheet. */ 69 int sheet_create(sheet_t **rsh) 70 { 71 sheet_t *sh; 72 73 sh = calloc(1, sizeof(sheet_t)); 74 if (sh == NULL) 75 return ENOMEM; 76 68 int sheet_init(sheet_t *sh) 69 { 77 70 sh->dbuf_size = INITIAL_SIZE; 78 71 sh->text_size = 0; … … 84 77 list_initialize(&sh->tags); 85 78 86 *rsh = sh;87 79 return EOK; 88 80 }
Note:
See TracChangeset
for help on using the changeset viewer.