看板 DFBSD_submit 關於我們 聯絡資訊
--vv4Sf/kQfcwinyKX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --vv4Sf/kQfcwinyKX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mount_msdos.patch" --- sbin/mount_msdos/Makefile.orig 2005-04-01 14:59:35.000000000 +0000 +++ sbin/mount_msdos/Makefile 2005-04-01 14:59:50.000000000 +0000 @@ -3,6 +3,7 @@ # $DragonFly: src/sbin/mount_msdos/Makefile,v 1.2 2003/06/17 04:27:33 dillon Exp $ # +WARNS?= 6 PROG= mount_msdos SRCS= mount_msdos.c getmntopts.c MAN= mount_msdos.8 --- sbin/mount_msdos/mount_msdos.c.orig 2005-04-01 14:59:35.000000000 +0000 +++ sbin/mount_msdos/mount_msdos.c 2005-04-01 15:00:32.000000000 +0000 @@ -69,7 +69,7 @@ { "shortnames", 0, MSDOSFSMNT_SHORTNAME, 1 }, { "longnames", 0, MSDOSFSMNT_LONGNAME, 1 }, { "nowin95", 0, MSDOSFSMNT_NOWIN95, 1 }, - { NULL } + MOPT_NULL }; static gid_t a_gid(char *); @@ -185,7 +185,7 @@ exit (0); } -gid_t +static gid_t a_gid(char *s) { struct group *gr; @@ -204,7 +204,7 @@ return (gid); } -uid_t +static uid_t a_uid(char *s) { struct passwd *pw; @@ -223,7 +223,7 @@ return (uid); } -mode_t +static mode_t a_mask(char *s) { int done, rv; @@ -240,7 +240,7 @@ return (rv); } -void +static void usage(void) { fprintf(stderr, "%s\n%s\n", @@ -249,7 +249,7 @@ exit(EX_USAGE); } -void +static void load_u2wtable (struct msdosfs_args *pargs, char *name) { FILE *f; @@ -314,7 +314,7 @@ fclose(f); } -void +static void load_ultable (struct msdosfs_args *pargs, char *name) { int i; --vv4Sf/kQfcwinyKX--