X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387..b58caf92d598c70ddd398b3909b0a2b8b5a110e1:/sa.tproj/pdb.c diff --git a/sa.tproj/pdb.c b/sa.tproj/pdb.c index 66c99f1..928aad9 100644 --- a/sa.tproj/pdb.c +++ b/sa.tproj/pdb.c @@ -94,14 +94,14 @@ v1_to_v2(DBT *key __unused, DBT *data) /* Copy pdb_file to in-memory pacct_db. */ int -pacct_init() +pacct_init(void) { return (db_copy_in(&pacct_db, pdb_file, "process accounting", NULL, v1_to_v2)); } void -pacct_destroy() +pacct_destroy(void) { db_destroy(pacct_db, "process accounting"); } @@ -150,14 +150,14 @@ pacct_add(const struct cmdinfo *ci) /* Copy in-memory pacct_db to pdb_file. */ int -pacct_update() +pacct_update(void) { return (db_copy_out(pacct_db, pdb_file, "process accounting", NULL)); } void -pacct_print() +pacct_print(void) { BTREEINFO bti; DBT key, data, ndata; @@ -466,4 +466,4 @@ print_ci(const struct cmdinfo *cip, const struct cmdinfo *totalcip) printf(" %s\n", cip->ci_comm); } -#endif \ No newline at end of file +#endif