diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 02:22:21 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 03:22:26 +0200 |
commit | ba1dd2251f26f62d673f5e2aaf30bc6725db681e (patch) | |
tree | 3b8f16696a777c2021a5164e962db085d9240026 | |
parent | 129f4634f97734d19311d56fd47cf61ce991d360 (diff) | |
download | ratpoison-ba1dd2251f26f62d673f5e2aaf30bc6725db681e.zip |
Kill unused function
-rw-r--r-- | src/actions.c | 1 | ||||
-rw-r--r-- | src/number.c | 6 | ||||
-rw-r--r-- | src/number.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/actions.c b/src/actions.c index 34994b4..caa23f1 100644 --- a/src/actions.c +++ b/src/actions.c @@ -5351,7 +5351,6 @@ frestore (char *data, rp_screen *s) /* Splice in our new frameset. */ screen_restore_frameset (s, &fset); -/* numset_clear (s->frames_numset); */ /* Process the frames a bit to make sure everything lines up. */ list_for_each_entry (cur, &s->frames, node) diff --git a/src/number.c b/src/number.c index 2ea229d..56750ae 100644 --- a/src/number.c +++ b/src/number.c @@ -155,9 +155,3 @@ numset_free (struct numset *ns) free (ns->numbers_taken); free (ns); } - -void -numset_clear (struct numset *ns) -{ - ns->num_taken = 0; -} diff --git a/src/number.h b/src/number.h index 1b93ed0..80ab40c 100644 --- a/src/number.h +++ b/src/number.h @@ -29,6 +29,5 @@ void numset_free (struct numset *ns); void numset_release (struct numset *ns, int n); int numset_request (struct numset *ns); int numset_add_num (struct numset *ns, int n); -void numset_clear (struct numset *ns); #endif /* ! _RATPOISON_NUMBER_H */ |