Removed prototype for unimplemented getpgid() function.
Removed a value return from a void function.
if(evstat != 0 && !(evstat & HERMES_EV_TICK)) {
goto beginning;
}
-
- return (1);
}
_PROTOTYPE(char *getpass, (const char *_prompt));
/* Miscellaneous MINIX. */
-_PROTOTYPE(void std_err, (char *_s));
+_PROTOTYPE(void std_err, (const char *_s));
_PROTOTYPE(void prints, (const char *_s, ...));
_PROTOTYPE(int fsversion, (char *_dev, char *_prog));
_PROTOTYPE(int getprocessor, (void));
_PROTOTYPE( int rmdir, (const char *_path) );
_PROTOTYPE( int setgid, (_mnx_Gid_t _gid) );
_PROTOTYPE( int setegid, (_mnx_Gid_t _gid) );
-_PROTOTYPE( int setpgid, (pid_t _pid, pid_t _pgid) );
_PROTOTYPE( pid_t setsid, (void) );
_PROTOTYPE( int setuid, (_mnx_Uid_t _uid) );
_PROTOTYPE( int seteuid, (_mnx_Uid_t _uid) );
#include <sys/types.h>
#include <unistd.h>
-_PROTOTYPE( void std_err, (char *s));
-
-void std_err(s)
-char *s;
+void std_err(const char *s)
{
- register char *p = s;
+ register const char *p = s;
while (*p != 0) p++;
write(2, s, (int) (p - s));