Changeset 324d46b in mainline for uspace/lib/posix/locale.h


Ignore:
Timestamp:
2011-07-07T01:32:53Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f466c33
Parents:
08053f7
Message:

Partial time.h implementation (WIP, untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/locale.h

    r08053f7 r324d46b  
    3838#ifndef NULL
    3939        #define NULL ((void *) 0)
     40#endif
     41
     42#ifndef __locale_t_defined
     43        #define __locale_t_defined
     44        typedef struct __posix_locale *posix_locale_t;
     45        #ifndef LIBPOSIX_INTERNAL
     46                #define locale_t posix_locale_t
     47        #endif
    4048#endif
    4149
     
    101109};
    102110
    103 typedef struct _posix_locale *posix_locale_t;
    104 
    105111extern char *posix_setlocale(int category, const char *locale);
    106 extern struct posix_lconv *localeconv(void);
     112extern struct posix_lconv *posix_localeconv(void);
    107113
    108114/* POSIX Extensions */
     
    115121#ifndef LIBPOSIX_INTERNAL
    116122        #define lconv posix_lconv
    117         #define locale_t posix_locale_t
    118123
    119124        #define setlocale posix_setlocale
Note: See TracChangeset for help on using the changeset viewer.