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

@@ -66,13 +66,13 @@ struct stat {
#define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* is a pipe/FIFO */
/* Function Prototypes. */
_PROTOTYPE( int chmod, (const char *_path, _mnx_Mode_t _mode) );
_PROTOTYPE( int fchmod, (int fd, _mnx_Mode_t _mode) );
_PROTOTYPE( int chmod, (const char *_path, mode_t _mode) );
_PROTOTYPE( int fchmod, (int fd, mode_t _mode) );
_PROTOTYPE( int fstat, (int _fildes, struct stat *_buf) );
_PROTOTYPE( int mkdir, (const char *_path, _mnx_Mode_t _mode) );
_PROTOTYPE( int mkfifo, (const char *_path, _mnx_Mode_t _mode) );
_PROTOTYPE( int mkdir, (const char *_path, mode_t _mode) );
_PROTOTYPE( int mkfifo, (const char *_path, mode_t _mode) );
_PROTOTYPE( int stat, (const char *_path, struct stat *_buf) );
_PROTOTYPE( mode_t umask, (_mnx_Mode_t _cmask) );
_PROTOTYPE( mode_t umask, (mode_t _cmask) );
/* Open Group Base Specifications Issue 6 (not complete) */
_PROTOTYPE( int lstat, (const char *_path, struct stat *_buf) );