From 37f8bfd478d299abdcb5005fe006bf9a9a74eb24 Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 13 Sep 2008 06:21:43 +0000 Subject: 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 --- recordmydesktop/src/get_frame.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'recordmydesktop/src/get_frame.c') 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, -- cgit v1.2.1