summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-12-25 19:58:36 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-25 19:58:36 +0000
commite162a06a1a8a26e7910c1291002bea69223e029e (patch)
tree5dfec5f4c993d04d6e8a2229bbae943a8915f3a4 /sysdeps
parentb9abc7c3ef062c99a645655577d1fe89f7b4efad (diff)
downloadlibgtop-e162a06a1a8a26e7910c1291002bea69223e029e.tar.gz
Removed. This is now included in <glibtop-private.h>.
1999-12-25 Martin Baulig <martin@home-of-linux.org> * safeio.h: Removed. This is now included in <glibtop-private.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/solaris/ChangeLog2
-rw-r--r--sysdeps/solaris/Makefile.am4
-rw-r--r--sysdeps/solaris/procdata.c2
-rw-r--r--sysdeps/solaris/safeio.h48
4 files changed, 5 insertions, 51 deletions
diff --git a/sysdeps/solaris/ChangeLog b/sysdeps/solaris/ChangeLog
index e40d9d9f..317983e0 100644
--- a/sysdeps/solaris/ChangeLog
+++ b/sysdeps/solaris/ChangeLog
@@ -1,5 +1,7 @@
1999-12-25 Martin Baulig <martin@home-of-linux.org>
+ * safeio.h: Removed. This is now included in <glibtop-private.h>.
+
* netinfo.c: New file.
* glibtop_private.h: Added function prototypes for everything
diff --git a/sysdeps/solaris/Makefile.am b/sysdeps/solaris/Makefile.am
index 887a8af9..27ee836f 100644
--- a/sysdeps/solaris/Makefile.am
+++ b/sysdeps/solaris/Makefile.am
@@ -9,8 +9,8 @@ libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c \
proclist.c procstate.c procuid.c \
proctime.c procmem.c procsignal.c \
prockernel.c procsegment.c procargs.c \
- procmap.c netload.c ppp.c procdata.c \
- interfaces.c
+ procmap.c netload.c netinfo.c ppp.c \
+ procdata.c interfaces.c
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
diff --git a/sysdeps/solaris/procdata.c b/sysdeps/solaris/procdata.c
index b21be2b2..0ae6d149 100644
--- a/sysdeps/solaris/procdata.c
+++ b/sysdeps/solaris/procdata.c
@@ -27,7 +27,7 @@
#include <errno.h>
-#include "safeio.h"
+#include <glibtop-private.h>
/*
* The differences between old and new procfs API are:
diff --git a/sysdeps/solaris/safeio.h b/sysdeps/solaris/safeio.h
deleted file mode 100644
index b6808e81..00000000
--- a/sysdeps/solaris/safeio.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Copyright (C) 1999 Drazen Kacar
- This file is part of LibGTop 1.0.
-
- Contributed by Drazen Kacar <dave@srce.hr>, May 1999.
-
- LibGTop is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License,
- or (at your option) any later version.
-
- LibGTop is distributed in the hope that it will be useful, but WITHOUT
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- for more details.
-
- You should have received a copy of the GNU General Public License
- along with LibGTop; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-*/
-
-#ifndef __GLIBTOP_SAFEIO_H__
-#define __GLIBTOP_SAFEIO_H__
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <dirent.h>
-
-BEGIN_LIBGTOP_DECLS
-
-int
-s_open(const char *, int);
-
-int
-s_stat(const char *, struct stat *);
-
-int
-s_close(int);
-
-ssize_t
-s_pread(int, void *, size_t, off_t);
-
-int
-s_closedir(DIR *);
-
-END_LIBGTOP_DECLS
-
-#endif