summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-01-18 20:22:20 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-01-18 20:22:20 +0000
commita845140044510ef3fdc179b333301218d3faefe5 (patch)
tree6234f82a4f47eed8f85819488443fb5faf5682bf /perl-install/c
parent9a9d52bcbc0dc13eebcff1f61960137a504a0cba (diff)
downloaddrakx-backup-do-not-use-a845140044510ef3fdc179b333301218d3faefe5.tar
drakx-backup-do-not-use-a845140044510ef3fdc179b333301218d3faefe5.tar.gz
drakx-backup-do-not-use-a845140044510ef3fdc179b333301218d3faefe5.tar.bz2
drakx-backup-do-not-use-a845140044510ef3fdc179b333301218d3faefe5.tar.xz
drakx-backup-do-not-use-a845140044510ef3fdc179b333301218d3faefe5.zip
- write the 'common' part of the 'explanations' stuff,
with nice help from Pixel for the tough Perl part - move 'use standalone' up in all standalone apps, to comply to 'explanations'
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 59d8fe232..3176e3515 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -310,10 +310,11 @@ void
closelog()
void
-syslog(mesg)
+syslog(priority, mesg)
+ int priority
char *mesg
CODE:
- syslog(LOG_WARNING, mesg);
+ syslog(priority, mesg);
void
setsid()
@@ -1013,6 +1014,7 @@ int rpmvercmp(char *a, char *b);
HDIO_GETGEO BLKGETSIZE LOOP_GET_STATUS
MS_MGC_VAL MS_RDONLY O_NONBLOCK F_SETFL F_GETFL O_CREAT SECTORSIZE WNOHANG
VT_ACTIVATE VT_WAITACTIVE VT_GETSTATE CDROM_LOCKDOOR CDROMEJECT
+ LOG_WARNING LOG_INFO LOG_LOCAL1
) ],
);
push @macros, [ qw(int RPMTAG_NAME RPMTAG_GROUP RPMTAG_SIZE RPMTAG_VERSION RPMTAG_SUMMARY RPMTAG_DESCRIPTION RPMTAG_RELEASE RPMTAG_EPOCH RPMTAG_ARCH RPMTAG_OBSOLETES RPMTAG_REQUIRENAME RPMTAG_FILEFLAGS RPMFILE_CONFIG) ]