Changeset 7a08c70 in mainline


Ignore:
Timestamp:
2018-01-22T22:48:18Z (6 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:
04552d8e
Parents:
7f9df7b9
Message:

Remove LIBPOSIX_INTERNAL macro.

Location:
uspace/lib/posix/include/posix
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/getopt.h

    r7f9df7b9 r7a08c70  
    3636
    3737#include "unistd.h"
    38 
    39 /* Option Arguments */
    40 #define no_argument        0
    41 #define required_argument  1
    42 #define optional_argument  2
    43 
    44 #ifndef LIBPOSIX_INTERNAL
    45 struct option {
    46         const char *name;
    47         int has_arg;
    48         int *flag;
    49         int val;
    50 };
    51 #endif
    52 
    53 extern int getopt_long(int, char * const [], const char *, const struct option *, int *);
    54 
     38#include "libc/getopt.h"
    5539
    5640#endif
  • uspace/lib/posix/include/posix/locale.h

    r7f9df7b9 r7a08c70  
    4141        #define __locale_t_defined
    4242        typedef struct __posix_locale *locale_t;
    43         #ifndef LIBPOSIX_INTERNAL
    44                 #define locale_t locale_t
    45         #endif
    4643#endif
    4744
  • uspace/lib/posix/include/posix/time.h

    r7f9df7b9 r7a08c70  
    4848        #define __locale_t_defined
    4949        typedef struct __posix_locale *locale_t;
    50         #ifndef LIBPOSIX_INTERNAL
    51                 #define locale_t locale_t
    52         #endif
    5350#endif
    5451
    5552#ifndef POSIX_SIGNAL_H_
    5653        struct sigevent;
    57         #ifndef LIBPOSIX_INTERNAL
    58                 #define sigevent sigevent
    59         #endif
    6054#endif
    6155
Note: See TracChangeset for help on using the changeset viewer.