"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "littleutils/lsysinfo.c" between
littleutils-1.2.4.tar.lz and littleutils-1.2.5.tar.lz

About: littleutils are a collection of small and simple utilities (rename files, search for duplicate files, ...).

lsysinfo.c  (littleutils-1.2.4.tar.lz):lsysinfo.c  (littleutils-1.2.5.tar.lz)
skipping to change at line 21 skipping to change at line 21
The lsysinfo utility is distributed in the hope that it will be useful, but The lsysinfo utility is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details. more details.
You should have received a copy of the GNU General Public License along with You should have received a copy of the GNU General Public License along with
the littleutils. If not, see <https://www.gnu.org/licenses/>. */ the littleutils. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h> #include <config.h>
#include <stdio.h> #ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
#if defined(HAVE_SYS_SYSINFO_H) #ifdef HAVE_SYS_SYSINFO_H
#include <sys/sysinfo.h> #include <sys/sysinfo.h>
#if defined(__CYGWIN__) #if defined(__CYGWIN__)
#define SYSINFO_SHIFT 8 #define SYSINFO_SHIFT 8
#else #else
#define SYSINFO_SHIFT 20 #define SYSINFO_SHIFT 20
#endif #endif
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)