summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/get_frame.c
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 06:21:43 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 06:21:43 +0000
commit37f8bfd478d299abdcb5005fe006bf9a9a74eb24 (patch)
tree5454d312f78795cd14957f1af84a99dda29033ba /recordmydesktop/src/get_frame.c
parent1801820c4d8678eccfb393183f1e55e21671307d (diff)
src/rmd_jack.c
src/get_frame.c src/parseargs.c src/load_cache.c src/cache_frame.c src/flush_to_ogg.c src/init_encoder.c src/initialize_data.c src/register_callbacks.c: Make file-local functions static. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@520 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/get_frame.c')
-rw-r--r--recordmydesktop/src/get_frame.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/recordmydesktop/src/get_frame.c b/recordmydesktop/src/get_frame.c
index ab8ff9a..9f16a4b 100644
--- a/recordmydesktop/src/get_frame.c
+++ b/recordmydesktop/src/get_frame.c
@@ -148,8 +148,10 @@
//besides taking the first screenshot, this functions primary purpose is to
//initialize the structures and memory.
-int FirstFrame(ProgData *pdata,XImage **image,XShmSegmentInfo *shminfo,
- char **pxl_data){
+static int FirstFrame(ProgData *pdata,
+ XImage **image,
+ XShmSegmentInfo *shminfo,
+ char **pxl_data) {
if((pdata->args.noshared)){
@@ -216,7 +218,7 @@ int FirstFrame(ProgData *pdata,XImage **image,XShmSegmentInfo *shminfo,
}
//make a deep copy
-void BRWinCpy(BRWindow *target,BRWindow *source){
+static void BRWinCpy(BRWindow *target, BRWindow *source) {
target->geom.x=source->geom.x;
target->geom.y=source->geom.y;
@@ -233,11 +235,11 @@ void BRWinCpy(BRWindow *target,BRWindow *source){
//recenters the capture area to the mouse
//without exiting the display bounding box
-void MoveCaptureArea( BRWindow *brwin,
- int cursor_x,
- int cursor_y,
- int width,
- int height){
+static void MoveCaptureArea(BRWindow *brwin,
+ int cursor_x,
+ int cursor_y,
+ int width,
+ int height) {
int t_x=0,t_y=0;
t_x=cursor_x-brwin->rgeom.width/2;
@@ -263,11 +265,11 @@ void MoveCaptureArea( BRWindow *brwin,
*
* \param blocknum_y Height of image in blocks
*/
-void BlocksFromList (RectArea **root,
- unsigned int x_offset,
- unsigned int y_offset,
- unsigned int blocknum_x,
- unsigned int blocknum_y) {
+static void BlocksFromList (RectArea **root,
+ unsigned int x_offset,
+ unsigned int y_offset,
+ unsigned int blocknum_x,
+ unsigned int blocknum_y) {
RectArea *temp;
unsigned int i,
© All Rights Reserved