1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

make many functions which do not require access to class member variables static so they can be called without an object to do so with. Based on part of a patch by Campbell Barton

This commit is contained in:
RichardAsh1981@gmail.com
2013-09-21 19:15:42 +00:00
parent 6758caa5e1
commit 28e9f0ca73
8 changed files with 16 additions and 16 deletions

View File

@@ -18,7 +18,7 @@
#include "WaveTrack.h"
#include "widgets/TimeTextCtrl.h"
int CompareSnapPoints(SnapPoint *s1, SnapPoint *s2)
static int CompareSnapPoints(SnapPoint *s1, SnapPoint *s2)
{
return (s1->t - s2->t > 0? 1 : -1);
}