Module Name: src Committed By: christos Date: Thu Dec 26 16:42:28 UTC 2013
Modified Files: src/external/bsd/smbfs/dist/mount_smbfs: mount_smbfs.c Log Message: mark usage __noreturn To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c diff -u src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c:1.2 src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c:1.3 --- src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c:1.2 Wed Dec 25 17:03:15 2013 +++ src/external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.c Thu Dec 26 11:42:28 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: mount_smbfs.c,v 1.2 2013/12/25 22:03:15 christos Exp $ */ +/* $NetBSD: mount_smbfs.c,v 1.3 2013/12/26 16:42:28 christos Exp $ */ /* * Copyright (c) 2000-2002, Boris Popov @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: mount_smbfs.c,v 1.2 2013/12/25 22:03:15 christos Exp $"); +__RCSID("$NetBSD: mount_smbfs.c,v 1.3 2013/12/26 16:42:28 christos Exp $"); #include <sys/param.h> #include <sys/stat.h> @@ -65,7 +65,7 @@ __RCSID("$NetBSD: mount_smbfs.c,v 1.2 20 #include "mntopts.h" -static void usage(void); +static void usage(void) __noreturn; static const struct mntopt mopts[] = { MOPT_STDOPTS, @@ -290,5 +290,5 @@ usage(void) "\t[-g gid] [-n opt] [-u uid] //user@server/share node", getprogname()); - exit (1); + exit(1); }