about summary refs log tree commit diff stats
path: root/src/teliva.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-07 08:52:41 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-03-07 08:52:41 -0800
commit7a315e3d9f1c668b54d57b472b612c7f6d738ede (patch)
treebdb5ee31c70ec27491a7c20b08fb25e8dd43205c /src/teliva.c
parent503ad706fbe7400f197f92dc1d895fd2f3db7cb8 (diff)
downloadteliva-7a315e3d9f1c668b54d57b472b612c7f6d738ede.tar.gz
extract a common function call
Diffstat (limited to 'src/teliva.c')
-rw-r--r--src/teliva.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/teliva.c b/src/teliva.c
index 52c1ae3..71576b5 100644
--- a/src/teliva.c
+++ b/src/teliva.c
@@ -324,7 +324,7 @@ void save_caller(lua_State* L, const char* name, int call_graph_depth) {
   if (ar.name) save_caller_as(L, name, ar.name);
 }
 
-char* caller(lua_State* L) {
+char* get_caller(lua_State* L) {
   static char result[1024] = {0};
   lua_Debug ar;
   lua_getstack(L, 1, &ar);