diff options
author | Michael Jennings <mej@kainx.org> | 1999-10-19 17:44:02 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 1999-10-19 17:44:02 +0000 |
commit | a54e99b6d55c573789250ccfde28eab86f553a24 (patch) | |
tree | 78072e7aa3ae19b0201146ceeeacca4bc242d8a3 /utils | |
parent | 664c44bb96346234307d31d406be59560e5c07a7 (diff) | |
download | eterm-a54e99b6d55c573789250ccfde28eab86f553a24.tar.gz |
Tue Oct 19 16:34:51 PDT 1999 Michael Jennings <mej@eterm.org>
This should get rid of all the warnings. If you're running Linux and
get warnings about setresuid, setresgid, grantpt, and unlockpt not
having prototypes, feel free to add the following lines to your copy
of /usr/include/unistd.h:
/* Linux- and HP-UX-only setres?id() calls -- mej */
extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
extern int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
/* SVR4 PTY functions */
extern int grantpt(int fd);
extern int unlockpt(int fd);
SVN revision: 886
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Esetroot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/Esetroot.c b/utils/Esetroot.c index 02fbbbb..c8acbcd 100644 --- a/utils/Esetroot.c +++ b/utils/Esetroot.c @@ -23,6 +23,8 @@ static const char cvs_ident[] = "$Id$"; #include <X11/Xos.h> #include <Imlib.h> +void set_pixmap_property(Pixmap p); + Display *Xdisplay; Screen *scr; Window Xroot; @@ -31,7 +33,6 @@ unsigned char debug = 0; #define Xdepth (DefaultDepth(Xdisplay, screen)) -void set_pixmap_property(Pixmap p); void set_pixmap_property(Pixmap p) { |