Remove the types Dev_t, _mnx_Gui, _mnx_Uid, and similar.

Use ANSI-style function declarations where necessary.
This commit is contained in:
Kees van Reeuwijk
2010-04-13 10:58:41 +00:00
parent 86378ff645
commit bc314bda91
50 changed files with 429 additions and 492 deletions

View File

@@ -99,8 +99,8 @@ _PROTOTYPE( int access, (const char *_path, int _amode) );
_PROTOTYPE( unsigned int alarm, (unsigned int _seconds) );
_PROTOTYPE( int chdir, (const char *_path) );
_PROTOTYPE( int fchdir, (int fd) );
_PROTOTYPE( int chown, (const char *_path, _mnx_Uid_t _owner, _mnx_Gid_t _group) );
_PROTOTYPE( int fchown, (int fd, _mnx_Uid_t _owner, _mnx_Gid_t _group) );
_PROTOTYPE( int chown, (const char *_path, uid_t _owner, gid_t _group) );
_PROTOTYPE( int fchown, (int fd, uid_t _owner, gid_t _group) );
_PROTOTYPE( int close, (int _fd) );
_PROTOTYPE( char *ctermid, (char *_s) );
_PROTOTYPE( char *cuserid, (char *_s) );
@@ -135,11 +135,11 @@ _PROTOTYPE( int pipe, (int _fildes[2]) );
_PROTOTYPE( ssize_t read, (int _fd, void *_buf, size_t _n) );
_PROTOTYPE( ssize_t pread, (int, void *, size_t, off_t) );
_PROTOTYPE( int rmdir, (const char *_path) );
_PROTOTYPE( int setgid, (_mnx_Gid_t _gid) );
_PROTOTYPE( int setegid, (_mnx_Gid_t _gid) );
_PROTOTYPE( int setgid, (gid_t _gid) );
_PROTOTYPE( int setegid, (gid_t _gid) );
_PROTOTYPE( pid_t setsid, (void) );
_PROTOTYPE( int setuid, (_mnx_Uid_t _uid) );
_PROTOTYPE( int seteuid, (_mnx_Uid_t _uid) );
_PROTOTYPE( int setuid, (uid_t _uid) );
_PROTOTYPE( int seteuid, (uid_t _uid) );
_PROTOTYPE( unsigned int sleep, (unsigned int _seconds) );
_PROTOTYPE( long sysconf, (int _name) );
_PROTOTYPE( pid_t tcgetpgrp, (int _fd) );
@@ -170,8 +170,8 @@ _PROTOTYPE( int brk, (char *_addr) );
_PROTOTYPE( int chroot, (const char *_name) );
_PROTOTYPE( int lseek64, (int _fd, u64_t _offset, int _whence,
u64_t *_newpos) );
_PROTOTYPE( int mknod, (const char *_name, _mnx_Mode_t _mode, Dev_t _addr) );
_PROTOTYPE( int mknod4, (const char *_name, _mnx_Mode_t _mode, Dev_t _addr,
_PROTOTYPE( int mknod, (const char *_name, mode_t _mode, dev_t _addr) );
_PROTOTYPE( int mknod4, (const char *_name, mode_t _mode, dev_t _addr,
long _size) );
_PROTOTYPE( char *mktemp, (char *_template) );
_PROTOTYPE( long ptrace, (int _req, pid_t _pid, long _addr, long _data) );