aboutsummaryrefslogtreecommitdiff
path: root/contrib/bc/include/dc.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bc/include/dc.h')
-rw-r--r--contrib/bc/include/dc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/bc/include/dc.h b/contrib/bc/include/dc.h
index 42cd842b57ce..edab5605c7e7 100644
--- a/contrib/bc/include/dc.h
+++ b/contrib/bc/include/dc.h
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*
- * Copyright (c) 2018-2021 Gavin D. Howard and contributors.
+ * Copyright (c) 2018-2025 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,9 +45,10 @@
/**
* The main function for dc. It just sets variables and passes its arguments
* through to @a bc_vm_boot().
+ * @return A status.
*/
-void
-dc_main(int argc, char* argv[]);
+BcStatus
+dc_main(int argc, const char* argv[]);
// A reference to the dc help text.
extern const char dc_help[];