Date: Fri, 22 Jan 2010 20:24:55 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r202828 - stable/8/sys/dev/aic7xxx/aicasm Message-ID: <201001222024.o0MKOtOh076074@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Fri Jan 22 20:24:55 2010 New Revision: 202828 URL: http://svn.freebsd.org/changeset/base/202828 Log: MFC r201261: Add missing `void' keywords. Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm.c stable/8/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l stable/8/sys/dev/aic7xxx/aicasm/aicasm_scan.l stable/8/sys/dev/aic7xxx/aicasm/aicasm_symbol.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm.c ============================================================================== --- stable/8/sys/dev/aic7xxx/aicasm/aicasm.c Fri Jan 22 20:15:49 2010 (r202827) +++ stable/8/sys/dev/aic7xxx/aicasm/aicasm.c Fri Jan 22 20:24:55 2010 (r202828) @@ -306,7 +306,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { (void)fprintf(stderr, @@ -318,7 +318,7 @@ usage() } static void -back_patch() +back_patch(void) { struct instruction *cur_instr; @@ -347,7 +347,7 @@ back_patch() } static void -output_code() +output_code(void) { struct instruction *cur_instr; patch_t *cur_patch; @@ -733,7 +733,7 @@ stop(const char *string, int err_code) } struct instruction * -seq_alloc() +seq_alloc(void) { struct instruction *new_instr; @@ -747,7 +747,7 @@ seq_alloc() } critical_section_t * -cs_alloc() +cs_alloc(void) { critical_section_t *new_cs; @@ -761,7 +761,7 @@ cs_alloc() } scope_t * -scope_alloc() +scope_alloc(void) { scope_t *new_scope; Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l ============================================================================== --- stable/8/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Fri Jan 22 20:15:49 2010 (r202827) +++ stable/8/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l Fri Jan 22 20:24:55 2010 (r202828) @@ -152,7 +152,7 @@ MCARG [^(), \t]+ %% int -mmwrap() +mmwrap(void) { stop("EOF encountered in macro call", EX_DATAERR); return (1); Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm_scan.l ============================================================================== --- stable/8/sys/dev/aic7xxx/aicasm/aicasm_scan.l Fri Jan 22 20:15:49 2010 (r202827) +++ stable/8/sys/dev/aic7xxx/aicasm/aicasm_scan.l Fri Jan 22 20:24:55 2010 (r202828) @@ -590,7 +590,7 @@ next_substitution(struct symbol *mac_sym } int -yywrap() +yywrap(void) { include_t *include; Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm_symbol.c ============================================================================== --- stable/8/sys/dev/aic7xxx/aicasm/aicasm_symbol.c Fri Jan 22 20:15:49 2010 (r202827) +++ stable/8/sys/dev/aic7xxx/aicasm/aicasm_symbol.c Fri Jan 22 20:24:55 2010 (r202828) @@ -129,7 +129,7 @@ symbol_delete(symbol_t *symbol) } void -symtable_open() +symtable_open(void) { symtable = dbopen(/*filename*/NULL, O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, @@ -143,7 +143,7 @@ symtable_open() } void -symtable_close() +symtable_close(void) { if (symtable != NULL) { DBT key;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001222024.o0MKOtOh076074>