projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb79255
)
YAcasl2エラーの整理
author
j8takagi
<j8takagi@nifty.com>
Wed, 27 Feb 2019 14:27:56 +0000
(23:27 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Wed, 27 Feb 2019 14:27:56 +0000
(23:27 +0900)
src/casl2rev.c
patch
|
blob
|
history
src/comet2.c
patch
|
blob
|
history
diff --git
a/src/casl2rev.c
b/src/casl2rev.c
index
af99991
..
aa150b5
100644
(file)
--- a/
src/casl2rev.c
+++ b/
src/casl2rev.c
@@
-1,5
+1,5
@@
#include "package.h"
#include "package.h"
-#include "
exec
.h"
+#include "
disassemble
.h"
/**
* @brief casl2revコマンドのオプション
/**
* @brief casl2revコマンドのオプション
@@
-29,7
+29,6
@@
int main(int argc, char *argv[])
/* エラーの定義 */
cerr_init();
addcerrlist_load();
/* エラーの定義 */
cerr_init();
addcerrlist_load();
- addcerrlist_exec();
/* オプションの処理 */
while((opt = getopt_long(argc, argv, "vh", longopts, NULL)) != -1) {
/* オプションの処理 */
while((opt = getopt_long(argc, argv, "vh", longopts, NULL)) != -1) {
diff --git
a/src/comet2.c
b/src/comet2.c
index
c821096
..
8b827ba
100644
(file)
--- a/
src/comet2.c
+++ b/
src/comet2.c
@@
-18,18
+18,6
@@
static struct option longopts[] = {
};
};
-/**
- * @brief comet2のエラー定義
- */
-CERR cerr_comet2[] = {
- { 127, "invalid option" },
-};
-
-void addcerrlist_comet2()
-{
- addcerrlist(ARRAYSIZE(cerr_comet2), cerr_comet2);
-}
-
/**
* @brief comet2コマンドのメイン
*
/**
* @brief comet2コマンドのメイン
*
@@
-50,7
+38,6
@@
int main(int argc, char *argv[])
/* エラーの定義 */
cerr_init();
/* エラーの定義 */
cerr_init();
- addcerrlist_comet2();
addcerrlist_load();
addcerrlist_exec();
addcerrlist_load();
addcerrlist_exec();