Changeset 1433ecda in mainline for uspace/lib/posix/include


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

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

Legend:

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

    r47b2d7e3 r1433ecda  
    8181extern int puts(const char *);
    8282
    83 extern int fprintf(FILE *, const char*, ...) _HELENOS_PRINTF_ATTRIBUTE(2, 3);
     83extern int fprintf(FILE *, const char *, ...) _HELENOS_PRINTF_ATTRIBUTE(2, 3);
    8484extern int vfprintf(FILE *, const char *, va_list);
    8585
     
    8787extern int vprintf(const char *, va_list);
    8888
    89 extern int snprintf(char *, size_t , const char *, ...) _HELENOS_PRINTF_ATTRIBUTE(3, 4);
     89extern int snprintf(char *, size_t, const char *, ...) _HELENOS_PRINTF_ATTRIBUTE(3, 4);
    9090#ifdef _GNU_SOURCE
    9191extern int vasprintf(char **, const char *, va_list);
  • uspace/lib/posix/include/posix/time.h

    r47b2d7e3 r1433ecda  
    4242
    4343#ifndef CLOCKS_PER_SEC
    44         #define CLOCKS_PER_SEC (1000000L)
     44#define CLOCKS_PER_SEC (1000000L)
    4545#endif
    4646
    4747#ifndef __locale_t_defined
    48         #define __locale_t_defined
    49         typedef struct __posix_locale *locale_t;
     48#define __locale_t_defined
     49typedef struct __posix_locale *locale_t;
    5050#endif
    5151
    5252#ifndef POSIX_SIGNAL_H_
    53         struct sigevent;
     53struct sigevent;
    5454#endif
    5555
  • uspace/lib/posix/include/posix/unistd.h

    r47b2d7e3 r1433ecda  
    4949extern char *optarg;
    5050extern int optind, opterr, optopt;
    51 extern int getopt(int, char * const [], const char *);
     51extern int getopt(int, char *const [], const char *);
    5252
    5353/* Environment */
Note: See TracChangeset for help on using the changeset viewer.