Changeset 6453e306 in mainline for uspace/app/hdisk/func_none.c
- Timestamp:
- 2013-12-25T16:09:43Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac36aed
- Parents:
- d51beba3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hdisk/func_none.c
rd51beba3 r6453e306 1 1 /* 2 * Copyright (c) 2012 ,2013 Dominik Taborsky2 * Copyright (c) 2012-2013 Dominik Taborsky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 29 /** @addtogroup hdisk 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 36 35 #include <errno.h> 37 38 36 #include "func_none.h" 39 37 40 38 static void not_implemented(void); 41 42 39 43 40 int construct_none_label(label_t *this) … … 45 42 this->layout = LYT_NONE; 46 43 47 this->add_part 48 this->delete_part 44 this->add_part = add_none_part; 45 this->delete_part = delete_none_part; 49 46 this->destroy_label = destroy_none_label; 50 this->new_label 51 this->print_parts 52 this->read_parts 53 this->write_parts 54 this->extra_funcs 47 this->new_label = new_none_label; 48 this->print_parts = print_none_parts; 49 this->read_parts = read_none_parts; 50 this->write_parts = write_none_parts; 51 this->extra_funcs = extra_none_funcs; 55 52 56 53 return EOK; 57 54 } 58 55 59 int add_none_part(label_t *this, tinput_t * 56 int add_none_part(label_t *this, tinput_t *in) 60 57 { 61 58 not_implemented(); … … 63 60 } 64 61 65 int delete_none_part(label_t *this, tinput_t * 62 int delete_none_part(label_t *this, tinput_t *in) 66 63 { 67 64 not_implemented(); … … 104 101 } 105 102 106 static void not_implemented( )103 static void not_implemented(void) 107 104 { 108 105 printf("No format selected.\n");
Note:
See TracChangeset
for help on using the changeset viewer.