Changeset a46da63 in mainline for libc/generic/libc.c


Ignore:
Timestamp:
2006-06-16T20:50:51Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
153a209
Parents:
b34fab6
Message:

big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/libc.c

    rb34fab6 ra46da63  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28  /** @addtogroup lc Libc
    29   * @brief      HelenOS C library
    30   * @{
    31   * @}
    32   */
    33  /** @addtogroup libc generic
    34   * @ingroup lc
     28
     29/** @addtogroup lc Libc
     30 * @brief       HelenOS C library
     31 * @{
     32 * @}
     33 */
     34/** @addtogroup libc generic
     35 * @ingroup lc
    3536 * @{
    3637 */
     
    5051extern char _heap;
    5152
    52 void _exit(int status) {
     53void _exit(int status)
     54{
    5355        thread_exit(status);
    5456}
    5557
    56 void __main(void) {
     58void __main(void)
     59{
    5760        psthread_data_t *pt;
    5861
     
    6366}
    6467
    65 void __io_init(void) {
     68void __io_init(void)
     69{
    6670        open("stdin", 0);
    6771        open("stdout", 0);
     
    6973}
    7074
    71 void __exit(void) {
     75void __exit(void)
     76{
    7277        psthread_teardown(__tcb_get()->pst_data);
    7378        _exit(0);
    7479}
    7580
    76 
    77  /** @}
     81/** @}
    7882 */
    79  
    80  
Note: See TracChangeset for help on using the changeset viewer.