- Timestamp:
- Nov 27, 2005, 10:38:41 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-fifo.c
r45 r142 9 9 #include <unistd.h> 10 10 #include <stdio.h> 11 #ifndef S_SPLINT_S 11 12 #include <signal.h> 13 #endif 12 14 #include <fcntl.h> 13 15 #include <stdio.h> … … 20 22 #include <sys/sem.h> 21 23 #include <sys/wait.h> 24 #ifndef S_SPLINT_S 22 25 #include <pthread.h> 26 #endif 23 27 24 28 #include "my-stuff.h" -
trunk/mondo/mondo/common/libmondo-files.c
r127 r142 1233 1233 } 1234 1234 fprintf(fout, "ifconfig lo 127.0.0.1 # config loopback\n"); 1235 fprintf(fout, "ifconfig %s %s ;# config client\n", nfs_dev,1235 fprintf(fout, "ifconfig %s %s # config client\n", nfs_dev, 1236 1236 nfs_client_ipaddr); 1237 fprintf(fout, "ping -c 1 %s ;# ping server\n", nfs_server_ipaddr);1237 fprintf(fout, "ping -c 1 %s # ping server\n", nfs_server_ipaddr); 1238 1238 fprintf(fout, "mount -t nfs -o nolock %s /tmp/isodir\n", 1239 1239 bkpinfo->nfs_mount); -
trunk/mondo/mondo/common/my-stuff.h
r127 r142 61 61 #include <time.h> 62 62 #include <unistd.h> 63 #ifndef S_SPLINT_S 63 64 #include <signal.h> 65 #endif 64 66 //#include <curses.h> 65 67 #include <newt.h> 66 68 #include <ctype.h> 67 69 #include <string.h> 70 #ifndef S_SPLINT_S 68 71 #include <pthread.h> 72 #endif 69 73 #include <assert.h> 70 74 … … 338 342 #define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE "/dev/md" 339 343 #define RAID_DEVICE_STUB DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE 340 #define SANE_FORMATS "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm "344 #define SANE_FORMATS "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm cifs" 341 345 #define ALT_TAPE "/dev/ht0" 342 346 #define MKE2FS_OR_NEWFS "mke2fs" -
trunk/mondo/mondo/mondoarchive/main.c
r94 r142 108 108 109 109 /************************* #include statements *************************/ 110 #ifndef S_SPLINT_S 110 111 #include <pthread.h> 112 #endif 111 113 //#include <config.h> 112 114 //#include "../../config.h" -
trunk/mondo/mondo/mondoarchive/mondo-cli.c
r107 r142 165 165 #include "mondo-cli-EXT.h" 166 166 #include "../common/libmondo.h" 167 #ifndef S_SPLINT_S 167 168 #include <pthread.h> 169 #endif 168 170 169 171 #ifndef VERSION -
trunk/mondo/mondo/mondorestore/mondo-restore.c
r118 r142 388 388 #include "mondo-rstr-compare-EXT.h" 389 389 #include "mondo-rstr-tools-EXT.h" 390 #ifndef S_SPLINT_S 390 391 #include <pthread.h> 392 #endif 391 393 392 394 extern void success_message(void); -
trunk/mondo/mondo/mondorestore/mondo-rstr-compare.c
r87 r142 63 63 #include "mondo-restore-EXT.h" 64 64 #include "mondo-rstr-tools-EXT.h" 65 #ifndef S_SPLINT_S 65 66 #include <pthread.h> 67 #endif 66 68 67 69 //static char cvsid[] = "$Id$"; -
trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c
r127 r142 131 131 //#include "mondo-rstr-compare-EXT.h" 132 132 #include "mondo-rstr-tools.h" 133 #ifndef S_SPLINT_S 133 134 #include <pthread.h> 135 #endif 134 136 135 137 extern bool g_sigpipe_caught; -
trunk/tools/quality
r121 r142 46 46 echo " " 47 47 echo "Splint: " 48 find . -name '*.c' -o -name '*.h' | xargs splint + posixlib -Dlinux48 find . -name '*.c' -o -name '*.h' | xargs splint +gnuextensions +posixlib -Dlinux 49 49 50 50 rm -f /tmp/mondo.quality
Note:
See TracChangeset
for help on using the changeset viewer.