Skip to content

Commit

Permalink
chore(cleanup): remove some old functions not existing anymore from h…
Browse files Browse the repository at this point in the history
…eader
  • Loading branch information
matteo-cristino authored and jaromil committed Nov 25, 2024
1 parent 10c7a50 commit 4313054
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
11 changes: 5 additions & 6 deletions src/cli-zenroom.c
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/*
* This file is part of zenroom
*
*
* Copyright (C) 2017-2021 Dyne.org foundation
* designed, written and maintained by Denis Roio <jaromil@dyne.org>
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3.0
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
*
* Along with this program you should have received a copy of the
* GNU Affero General Public License v3.0
* If not, see http://www.gnu.org/licenses/agpl.txt
*
*
* Last modified by Denis Roio
* on Thursday, 2nd September 2021
*/
Expand Down Expand Up @@ -341,7 +341,6 @@ int main(int argc, char **argv) {
// time from here
clock_gettime(CLOCK_MONOTONIC, &before);

// set_debug(verbosity);
Z = zen_init(
(conffile[0])?conffile:NULL,
(keys[0])?keys:NULL,
Expand Down
1 change: 0 additions & 1 deletion src/cortex_m.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ int main(void)
load_file(data, datafile);
}

// set_debug(verbosity);
Z = zen_init(
(conffile[0]) ? conffile : NULL,
(keys[0]) ? keys : NULL,
Expand Down
2 changes: 0 additions & 2 deletions src/zen_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
#define STB_C_LEXER_DEFINITIONS
#define STB_C_LEXER_IMPLEMENTATION

extern void set_debug(int lev);

#include <zenroom.h>
#include <zen_error.h>

Expand Down
14 changes: 5 additions & 9 deletions src/zen_error.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/*
* This file is part of zenroom
*
*
* Copyright (C) 2017-2021 Dyne.org foundation
* designed, written and maintained by Denis Roio <jaromil@dyne.org>
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3.0
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
*
* Along with this program you should have received a copy of the
* GNU Affero General Public License v3.0
* If not, see http://www.gnu.org/licenses/agpl.txt
*
*
* Last modified by Denis Roio
* on Tuesday, 27th July 2021
*/
Expand Down Expand Up @@ -76,10 +76,6 @@ void json_end(void *L);

#define SAFE(x) if(!x) lerror(L, "NULL variable in %s",__func__)

void set_debug(int lev);
int get_debug();
void set_color(int on);

// useful for debugging
#if DEBUG == 1
#define HERE() _err( "-> %s()\n",__func__)
Expand Down

0 comments on commit 4313054

Please sign in to comment.