GOption: don't use "rand" in code example
authorRyan Lortie <desrt@desrt.ca>
Fri, 17 Jan 2014 02:47:09 +0000 (21:47 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 17 Jan 2014 03:42:01 +0000 (22:42 -0500)
commit9592d40613ad02085fb7643cac96df655081dd3b
tree1b3d362937b58861d252a9a0531c12114729559f
parentd3c729bf0e3320046f309ce64b4ff0189563fe89
GOption: don't use "rand" in code example

rand() is a function defined in the libc, so our code example gives
warnings if you try to compile it.  Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=722025
glib/goption.c